Commit fe602a7e authored by hongguangwu's avatar hongguangwu

MVP1.7.17-离职待办-派单暂存

parent f481e0c7
...@@ -62,6 +62,10 @@ public class EmployeeRegistrationLeaveSearchVo extends EmployeeRegistrationLeave ...@@ -62,6 +62,10 @@ public class EmployeeRegistrationLeaveSearchVo extends EmployeeRegistrationLeave
private List<String> idList; private List<String> idList;
@Schema(description = "状态多个")
@TableField(exist = false)
private String[] processStatusArray;
/** /**
* @Author fxj * @Author fxj
* 查询数据起 * 查询数据起
......
...@@ -462,8 +462,17 @@ when '4' then '待减员' when '5' then '待办理' when '6' then '减员中' wh ...@@ -462,8 +462,17 @@ when '4' then '待减员' when '5' then '待办理' when '6' then '减员中' wh
FROM employee_registration_leave a FROM employee_registration_leave a
left join employee_registration b on a.id=b.id left join employee_registration b on a.id=b.id
<where> <where>
a.leave_status in ('1','2') 1=1
<include refid="employeeRegistrationLeave_where"/> <include refid="employeeRegistrationLeave_where"/>
<if test="employeeRegistrationLeave != null">
<if test="employeeRegistrationLeave.processStatusArray != null and employeeRegistrationLeave.processStatusArray.length > 0">
AND a.leave_status in
<foreach item="statusStr" index="index" collection="employeeRegistrationLeave.processStatusArray" open="("
separator="," close=")">
#{statusStr}
</foreach>
</if>
</if>
</where> </where>
ORDER BY b.create_time asc,b.id asc ORDER BY b.create_time asc,b.id asc
limit 2000 limit 2000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment