Commit 482ecbd0 by 林永健

feat(员工信息查询): 添加stdIsDeleted字段支持过滤删除状态

在BeiSenEmployeeListRequestDTO中添加stdIsDeleted字段并在SQL映射文件中增加对应条件判断,用于支持按删除状态筛选员工信息
1 parent 3705de59
......@@ -10,10 +10,6 @@ import lombok.Data;
@Data
public class BeiSenEmployeeListRequestDTO implements Serializable {
private Integer pageNum;
private Integer pageSize;
private String sortField;
......@@ -41,6 +37,11 @@ public class BeiSenEmployeeListRequestDTO implements Serializable {
private Integer status;
/**
* 是否删除:0否,1是
*/
private Integer stdIsDeleted;
/**
* 入职时间开始
*/
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
......
......@@ -147,6 +147,9 @@
<if test="req.status != null">
and zz_status = #{req.status}
</if>
<if test="req.stdIsDeleted != null">
and std_is_deleted = #{req.stdIsDeleted}
</if>
<if test="req.entryStartDate != null">
and entry_date &gt;= #{req.entryStartDate}
</if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!