@@ -9,6 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<resultproperty="mc"column="mc"/>
<resultproperty="deptId"column="dept_id"/>
<resultproperty="type"column="type"/>
<resultproperty="lx"column="lx"/>
<resultproperty="szd"column="szd"/>
<resultproperty="zcze"column="zcze"/>
<resultproperty="nyysr"column="nyysr"/>
...
...
@@ -95,6 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="mc != null and mc != ''"> and mc like concat('%','${mc}','%' )</if>
<iftest="deptId != null "> and dept_id = #{deptId}</if>
<iftest="type != null and type != ''"> and type = #{type}</if>
<iftest="lx != null and lx != ''"> and lx = #{lx}</if>
<iftest="szd != null and szd != ''"> and szd = #{szd}</if>
<iftest="params.beginZcze != null and params.beginZcze != '' and params.endZcze != null and params.endZcze != ''"> and zcze between #{params.beginZcze} and #{params.endZcze}</if>
<iftest="params.beginNyysr != null and params.beginNyysr != '' and params.endNyysr != null and params.endNyysr != ''"> and nyysr between #{params.beginNyysr} and #{params.endNyysr}</if>
...
...
@@ -133,6 +135,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="mc != null and mc != ''">mc,</if>
<iftest="deptId != null">dept_id,</if>
<iftest="type != null">type,</if>
<iftest="lx != null">lx,</if>
<iftest="szd != null">szd,</if>
<iftest="zcze != null">zcze,</if>
<iftest="nyysr != null">nyysr,</if>
...
...
@@ -211,6 +214,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="mc != null and mc != ''">#{mc},</if>
<iftest="deptId != null">#{deptId},</if>
<iftest="type != null">#{type},</if>
<iftest="lx != null">#{lx},</if>
<iftest="szd != null">#{szd},</if>
<iftest="zcze != null">#{zcze},</if>
<iftest="nyysr != null">#{nyysr},</if>
...
...
@@ -292,6 +296,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="mc != null and mc != ''">mc = #{mc},</if>
@@ -8,6 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<resultproperty="id"column="id"/>
<resultproperty="mc"column="mc"/>
<resultproperty="type"column="type"/>
<resultproperty="lx"column="lx"/>
<resultproperty="szd"column="szd"/>
<resultproperty="zcze"column="zcze"/>
<resultproperty="cyrs"column="cyrs"/>
...
...
@@ -113,6 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<iftest="mc != null and mc != ''"> and mc like concat('%', #{mc}, '%')</if>
<iftest="type != null and type != ''"> and type = #{type}</if>
<iftest="lx != null and lx != ''"> and lx = #{lx}</if>
<iftest="szd != null and szd != ''"> and szd like concat('%', #{szd}, '%')</if>
<iftest="params.beginZcze != null and params.beginZcze != '' and params.endZcze != null and params.endZcze != ''"> and zcze between #{params.beginZcze} and #{params.endZcze}</if>
<iftest="params.beginCyrs != null and params.beginCyrs != '' and params.endCyrs != null and params.endCyrs != ''"> and cyrs between #{params.beginCyrs} and #{params.endCyrs}</if>
...
...
@@ -167,6 +169,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="id != null">id,</if>
<iftest="mc != null and mc != ''">mc,</if>
<iftest="type != null">type,</if>
<iftest="lx != null">lx,</if>
<iftest="szd != null">szd,</if>
<iftest="zcze != null">zcze,</if>
<iftest="cyrs != null">cyrs,</if>
...
...
@@ -266,6 +269,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="id != null">#{id},</if>
<iftest="mc != null and mc != ''">#{mc},</if>
<iftest="type != null">#{type},</if>
<iftest="lx != null">#{lx},</if>
<iftest="szd != null">#{szd},</if>
<iftest="zcze != null">#{zcze},</if>
<iftest="cyrs != null">#{cyrs},</if>
...
...
@@ -369,6 +373,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trimprefix="SET"suffixOverrides=",">
<iftest="mc != null and mc != ''">mc = #{mc},</if>
@@ -8,6 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<resultproperty="id"column="id"/>
<resultproperty="mc"column="mc"/>
<resultproperty="type"column="type"/>
<resultproperty="lx"column="lx"/>
<resultproperty="szd"column="szd"/>
<resultproperty="zcze"column="zcze"/>
<resultproperty="cyrs"column="cyrs"/>
...
...
@@ -113,6 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<iftest="mc != null and mc != ''"> and mc like concat('%', #{mc}, '%')</if>
<iftest="type != null and type != ''"> and type = #{type}</if>
<iftest="lx != null and lx != ''"> and lx = #{lx}</if>
<iftest="szd != null and szd != ''"> and szd like concat('%', #{szd}, '%')</if>
<iftest="params.beginZcze != null and params.beginZcze != '' and params.endZcze != null and params.endZcze != ''"> and zcze between #{params.beginZcze} and #{params.endZcze}</if>
<iftest="params.beginCyrs != null and params.beginCyrs != '' and params.endCyrs != null and params.endCyrs != ''"> and cyrs between #{params.beginCyrs} and #{params.endCyrs}</if>
...
...
@@ -167,6 +169,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="id != null">id,</if>
<iftest="mc != null and mc != ''">mc,</if>
<iftest="type != null">type,</if>
<iftest="lx != null">lx,</if>
<iftest="szd != null">szd,</if>
<iftest="zcze != null">zcze,</if>
<iftest="cyrs != null">cyrs,</if>
...
...
@@ -266,6 +269,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="id != null">#{id},</if>
<iftest="mc != null and mc != ''">#{mc},</if>
<iftest="type != null">#{type},</if>
<iftest="lx != null">#{lx},</if>
<iftest="szd != null">#{szd},</if>
<iftest="zcze != null">#{zcze},</if>
<iftest="cyrs != null">#{cyrs},</if>
...
...
@@ -369,6 +373,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trimprefix="SET"suffixOverrides=",">
<iftest="mc != null and mc != ''">mc = #{mc},</if>