@@ -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>