- 创建 AttendanceCheckBo 数据传输对象用于考勤比对参数传递 - 定义 IWmsAttendanceCheckService 接口及其实现类 - 创建 WmsAttendanceCheck 实体类存储考勤比对结果数据 - 开发 WmsAttendanceCheckController 提供考勤比对接口 - 实现考勤比对核心逻辑,支持上下班时间段考勤检查 - 集成打卡记录查询和考勤规则应用功能 - 添加考勤状态判断和扣款计算逻辑 - 实现连续旷工天数统计功能 - 创建考勤比对结果的增删改查接口 - 配置 MyBatis 映射文件和 Excel 导出功能
55 lines
1.4 KiB
Java
55 lines
1.4 KiB
Java
package com.klp.domain;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.klp.common.core.domain.BaseEntity;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
|
|
@Data
|
|
@EqualsAndHashCode(callSuper = true)
|
|
@TableName("wms_attendance_check")
|
|
public class WmsAttendanceCheck extends BaseEntity {
|
|
|
|
@TableId
|
|
private Long checkId;
|
|
private Long scheduleId;
|
|
private Long userId;
|
|
private String employeeName;
|
|
private Date workDate;
|
|
private Long shiftId;
|
|
private String shiftName;
|
|
private String shiftType;
|
|
|
|
private Date p1StartTime;
|
|
private Date p1EndTime;
|
|
private Date p1FirstCheck;
|
|
private Date p1LastCheck;
|
|
private Integer p1LateMinutes;
|
|
private Integer p1EarlyMinutes;
|
|
private String p1Status;
|
|
private BigDecimal p1Deduct;
|
|
|
|
private Date p2StartTime;
|
|
private Date p2EndTime;
|
|
private Date p2FirstCheck;
|
|
private Date p2LastCheck;
|
|
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;
|
|
|
|
@TableLogic
|
|
private Integer delFlag;
|
|
}
|