Commit 9a402f98 by “zcwang”

add: 分页查询

parent 63af442a
......@@ -46,34 +46,34 @@
from TB_YX_QC_CHANGE_RECORD
<where>
<if test="itemId != null ">
change_item like concat('%',itemId,'%') and
and change_item like concat('%',itemId,'%')
</if>
<if test="supplier != null ">
change_supplier = #{supplier} and
and change_supplier = #{supplier}
</if>
<if test="parentChangeClassId != null">
parent_change_class_id = #{parentChangeClassId} and
and parent_change_class_id = #{parentChangeClassId}
</if>
<if test="sonChangeClassId != null">
son_change_class_id = #{sonChangeClassId} and
and son_change_class_id = #{sonChangeClassId}
</if>
<if test="state != null">
`state` = #{state} and
and `state` = #{state}
</if>
<if test="changeCommander != null and changeCommander != ''">
`change_commander` = #{changeCommander} and
and `change_commander` = #{changeCommander}
</if>
<if test="changeDepartment != null and changeDepartment != ''">
`change_department` = #{changeDepartment} and
and `change_department` = #{changeDepartment}
</if>
<if test="changeExecDepartment != null and changeExecDepartment != ''">
participate_change_exec_department like concat('%',changeExecDepartment,'%') and
and participate_change_exec_department like concat('%',changeExecDepartment,'%')
</if>
<if test="startTime != null">
create_time > #{startTime} and
and create_time > #{startTime}
</if>
<if test="endTime != null">
create_time <![CDATA[ < ]]> #{endTime} and
and create_time <![CDATA[ < ]]> #{endTime}
</if>
</where>
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment