| | |
| | | </choose> |
| | | |
| | | <choose> |
| | | <when test="departmentIds.size != 0 and myDepartmentIds != null and myDepartmentIds.size != 0"> |
| | | <when test="myDepartmentIds != null and myDepartmentIds.size != 0"> |
| | | AND isd.department_id IN |
| | | <foreach collection="myDepartmentIds" item="item" index="index" separator="," open="(" close=")"> |
| | | #{item} |
| | |
| | | </choose> |
| | | |
| | | <choose> |
| | | <when test="departmentIds.size != 0 and myDepartmentIds != null and myDepartmentIds.size != 0"> |
| | | <when test="myDepartmentIds != null and myDepartmentIds.size != 0"> |
| | | AND isd.department_id IN |
| | | <foreach collection="myDepartmentIds" item="item" index="index" separator="," open="(" close=")"> |
| | | #{item} |