Commit 2a410bfc authored by hongguangwu's avatar hongguangwu

1.7.19-第二天

parent 1455fa29
...@@ -62,7 +62,8 @@ public class EmployeeRegistrationLeaveSearchVo extends EmployeeRegistrationLeave ...@@ -62,7 +62,8 @@ public class EmployeeRegistrationLeaveSearchVo extends EmployeeRegistrationLeave
private List<String> idList; private List<String> idList;
@Schema(description = "状态多个") // 0待确认1待处理2处理中3已处理
@Schema(description = "离职处理状态多个")
@TableField(exist = false) @TableField(exist = false)
private String[] processStatusArray; private String[] processStatusArray;
......
...@@ -277,6 +277,13 @@ ...@@ -277,6 +277,13 @@
<if test="employeeRegistrationLeave.leaveStatus != null and employeeRegistrationLeave.leaveStatus.trim() != ''"> <if test="employeeRegistrationLeave.leaveStatus != null and employeeRegistrationLeave.leaveStatus.trim() != ''">
AND a.leave_status = #{employeeRegistrationLeave.leaveStatus} AND a.leave_status = #{employeeRegistrationLeave.leaveStatus}
</if> </if>
<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 test="employeeRegistrationLeave.doStatus != null and employeeRegistrationLeave.doStatus.trim() != ''"> <if test="employeeRegistrationLeave.doStatus != null and employeeRegistrationLeave.doStatus.trim() != ''">
AND a.do_status = #{employeeRegistrationLeave.doStatus} AND a.do_status = #{employeeRegistrationLeave.doStatus}
</if> </if>
......
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