|
|
@ -80,7 +80,7 @@ |
|
|
|
AND D.IS_DELETED = 0 |
|
|
|
AND D.IS_DELETED = 0 |
|
|
|
and D.DEFECT_GRADING IS NOT NULL |
|
|
|
and D.DEFECT_GRADING IS NOT NULL |
|
|
|
<if test="createDept != null and createDept.size > 0"> |
|
|
|
<if test="createDept != null and createDept.size > 0"> |
|
|
|
AND P.CREATE_DEPT in |
|
|
|
AND D.CREATE_DEPT in |
|
|
|
<foreach collection="createDept" item="item" index="index" open="(" close=")" separator=","> |
|
|
|
<foreach collection="createDept" item="item" index="index" open="(" close=")" separator=","> |
|
|
|
#{item} |
|
|
|
#{item} |
|
|
|
</foreach> |
|
|
|
</foreach> |
|
|
@ -96,7 +96,7 @@ |
|
|
|
AND D.IS_DEFECT='1' |
|
|
|
AND D.IS_DEFECT='1' |
|
|
|
and D.DEFECT_GRADING IS NOT NULL |
|
|
|
and D.DEFECT_GRADING IS NOT NULL |
|
|
|
<if test="createDept != null and createDept.size > 0"> |
|
|
|
<if test="createDept != null and createDept.size > 0"> |
|
|
|
AND P.CREATE_DEPT in |
|
|
|
AND D.CREATE_DEPT in |
|
|
|
<foreach collection="createDept" item="item" index="index" open="(" close=")" separator=","> |
|
|
|
<foreach collection="createDept" item="item" index="index" open="(" close=")" separator=","> |
|
|
|
#{item} |
|
|
|
#{item} |
|
|
|
</foreach> |
|
|
|
</foreach> |
|
|
@ -112,7 +112,7 @@ |
|
|
|
AND D.IS_DEFECT='1' |
|
|
|
AND D.IS_DEFECT='1' |
|
|
|
and D.DEFECT_GRADING IS NOT NULL |
|
|
|
and D.DEFECT_GRADING IS NOT NULL |
|
|
|
<if test="createDept != null and createDept.size > 0"> |
|
|
|
<if test="createDept != null and createDept.size > 0"> |
|
|
|
AND P.CREATE_DEPT in |
|
|
|
AND D.CREATE_DEPT in |
|
|
|
<foreach collection="createDept" item="item" index="index" open="(" close=")" separator=","> |
|
|
|
<foreach collection="createDept" item="item" index="index" open="(" close=")" separator=","> |
|
|
|
#{item} |
|
|
|
#{item} |
|
|
|
</foreach> |
|
|
|
</foreach> |
|
|
@ -127,7 +127,7 @@ |
|
|
|
AND D.IS_DEFECT='1' |
|
|
|
AND D.IS_DEFECT='1' |
|
|
|
and D.DEFECT_GRADING IS NOT NULL |
|
|
|
and D.DEFECT_GRADING IS NOT NULL |
|
|
|
<if test="createDept != null and createDept.size > 0"> |
|
|
|
<if test="createDept != null and createDept.size > 0"> |
|
|
|
AND P.CREATE_DEPT in |
|
|
|
AND D.CREATE_DEPT in |
|
|
|
<foreach collection="createDept" item="item" index="index" open="(" close=")" separator=","> |
|
|
|
<foreach collection="createDept" item="item" index="index" open="(" close=")" separator=","> |
|
|
|
#{item} |
|
|
|
#{item} |
|
|
|
</foreach> |
|
|
|
</foreach> |
|
|
|