Browse Source

解决工单列表问题

tags/v1.0.0^2
wanjing 1 year ago
parent
commit
11182f1d00
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/WorkOrderMapper.xml

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/resources/mapper/WorkOrderMapper.xml View File

<if test="request.status != null and request.status != ''"> and status = #{request.status} </if> <if test="request.status != null and request.status != ''"> and status = #{request.status} </if>
<if test="request.userDeptId != null and request.userDeptId != ''"> and assign_dept_id = #{request.userDeptId} </if> <if test="request.userDeptId != null and request.userDeptId != ''"> and assign_dept_id = #{request.userDeptId} </if>
<if test="request.deptIdList != null and request.deptIdList.size() > 0"> <if test="request.deptIdList != null and request.deptIdList.size() > 0">
and dept_id in
or dept_id in
<foreach item="deptId" collection="request.deptIdList" open="(" separator="," close=")"> <foreach item="deptId" collection="request.deptIdList" open="(" separator="," close=")">
#{deptId} #{deptId}
</foreach> </foreach>

Loading…
Cancel
Save