|
|
|
@ -591,12 +591,11 @@ |
|
|
|
WHERE |
|
|
|
item.DEL_FLAG = '0' |
|
|
|
AND item.ITEM_STATE = '0' |
|
|
|
<if test="deptIdList != null"> |
|
|
|
AND dept.DEPT_ID IN |
|
|
|
<foreach item="deptId" collection="deptIdList" open="(" separator="," close=")"> |
|
|
|
<foreach item="deptId" collection="formDto.deptIdList" open="(" separator="," close=")"> |
|
|
|
#{deptId} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test='formDto.deptId != null and formDto.deptId != ""'> |
|
|
|
AND dept.DEPT_ID = #{formDto.deptId} |
|
|
|
</if> |
|
|
|
@ -613,12 +612,10 @@ |
|
|
|
WHERE |
|
|
|
item.DEL_FLAG = '0' |
|
|
|
AND item.ITEM_STATE = '10' |
|
|
|
<if test="deptIdList != null"> |
|
|
|
AND dept.DEPT_ID IN |
|
|
|
<foreach item="deptId" collection="deptIdList" open="(" separator="," close=")"> |
|
|
|
<foreach item="deptId" collection="formDto.deptIdList" open="(" separator="," close=")"> |
|
|
|
#{deptId} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
<if test='formDto.deptId != null and formDto.deptId != ""'> |
|
|
|
AND dept.DEPT_ID = #{formDto.deptId} |
|
|
|
</if> |
|
|
|
@ -634,12 +631,11 @@ |
|
|
|
WHERE |
|
|
|
item.DEL_FLAG = '0' |
|
|
|
AND item.ITEM_STATE = '5' |
|
|
|
<if test="deptIdList != null"> |
|
|
|
|
|
|
|
AND dept.DEPT_ID IN |
|
|
|
<foreach item="deptId" collection="deptIdList" open="(" separator="," close=")"> |
|
|
|
<foreach item="deptId" collection="formDto.deptIdList" open="(" separator="," close=")"> |
|
|
|
#{deptId} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
<if test='formDto.deptId != null and formDto.deptId != ""'> |
|
|
|
AND dept.DEPT_ID = #{formDto.deptId} |
|
|
|
</if> |
|
|
|
|