1. 在考勤审核查询条件中增加异常标识字段abnormal,用于筛选异常考勤记录 2. 在服务层实现异常筛选逻辑:当abnormal为true时,查询整体状态不为"normal"的考勤记录 调整前,考勤审核查询无法直接筛选异常考勤;调整后,支持通过abnormal字段快速过滤出异常状态的考勤记录,提升审核效率。
50 lines
1.2 KiB
Java
50 lines
1.2 KiB
Java
package com.klp.domain.bo;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.klp.common.core.domain.BaseEntity;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
|
|
@Data
|
|
@EqualsAndHashCode(callSuper = true)
|
|
public class WmsAttendanceCheckBo extends BaseEntity {
|
|
|
|
private Long checkId;
|
|
private Long userId;
|
|
private String employeeName;
|
|
private Long shiftId;
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
private Date startDate;
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
private Date endDate;
|
|
|
|
private Integer p1LateMinutes;
|
|
private Integer p1EarlyMinutes;
|
|
private String p1Status;
|
|
private BigDecimal p1Deduct;
|
|
|
|
private Integer p2LateMinutes;
|
|
private Integer p2EarlyMinutes;
|
|
private String p2Status;
|
|
private BigDecimal p2Deduct;
|
|
|
|
private String absentType;
|
|
private Integer continuousAbsentDays;
|
|
private BigDecimal totalDeduct;
|
|
private String overallStatus;
|
|
private String remark;
|
|
|
|
List<Long> userIds;
|
|
|
|
private Boolean abnormal;
|
|
}
|