feat(wms): 添加考勤排班、班次及倒班规则功能模块
- 新增 IWmsAttendanceScheduleService 接口及其实现类 - 新增 IWmsAttendanceShiftService 接口及其实现类 - 新增 IWmsAttendanceShiftRuleService 接口及其实现类 - 添加 WmsAttendanceSchedule、WmsAttendanceShift、WmsAttendanceShiftRule 实体类 - 创建对应的 BO 和 VO 类用于数据传输 - 添加 WmsAttendanceScheduleController、WmsAttendanceShiftController、WmsAttendanceShiftRuleController 控制器 - 新增相应的 Mapper 接口和 XML 映射文件 - 实现分页查询、新增、修改、删除等基础功能 - 集成 Excel 导出功能和数据校验机制
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
package com.klp.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.klp.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
||||
/**
|
||||
* 倒班规则(支持按日期或按周期自动切换班次)对象 wms_attendance_shift_rule
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-05-08
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("wms_attendance_shift_rule")
|
||||
public class WmsAttendanceShiftRule extends BaseEntity {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@TableId(value = "rule_id")
|
||||
private Long ruleId;
|
||||
/**
|
||||
* 规则类型(date=按日期倒班 / cycle=按周期倒班)
|
||||
*/
|
||||
private String ruleType;
|
||||
/**
|
||||
* 倒班日期(如:1,11,21,31)
|
||||
*/
|
||||
private String changeDays;
|
||||
/**
|
||||
* 周期天数(如每10天倒班)
|
||||
*/
|
||||
private Long cycleDays;
|
||||
/**
|
||||
* 班次A(通常白班ID)
|
||||
*/
|
||||
private Long shiftA;
|
||||
/**
|
||||
* 班次B(通常夜班ID)
|
||||
*/
|
||||
private Long shiftB;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 删除标记(0正常 1删除)
|
||||
*/
|
||||
@TableLogic
|
||||
private Long delFlag;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user