Commit 482ecbd0 by 林永健

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

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