检验任务待办事项批量合格

master
赵嘉伟 3 years ago
parent b24ad49a00
commit f75e6a0df1

@ -39,9 +39,14 @@
<if test="workCenter != null and workCenter != ''">
AND B.WORK_CENTER = #{workCenter}
</if>
<if test="category != null and category != ''">
AND B.CATEGORY = #{category}
</if>
<choose>
<when test="category != null and category != ''">
AND B.CATEGORY = #{category}
</when>
<otherwise>
AND (B.CATEGORY = 'S' OR B.CATEGORY = 'P')
</otherwise>
</choose>
<if test="status != null and status != ''">
AND B.STATUS = #{status}
</if>

Loading…
Cancel
Save