feat(wms): 添加考勤记录管理功能
- 新增 AttendanceRecords 实体类定义数据库表结构 - 创建 AttendanceRecordsBo 业务对象用于数据传输 - 实现 AttendanceRecordsController 提供 REST API 接口 - 开发 AttendanceRecordsMapper 数据访问层接口 - 实现 AttendanceRecordsServiceImpl 业务逻辑服务 - 定义 AttendanceRecordsVo 视图对象用于数据展示 - 集成 Excel 导出功能支持考勤数据批量导出 - 添加分页查询、条件筛选等数据检索功能
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
package com.klp.domain.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class AttendanceRecordsVo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ExcelProperty(value = "主键ID")
|
||||
private Integer id;
|
||||
|
||||
@ExcelProperty(value = "人员编号")
|
||||
private String pin;
|
||||
|
||||
@ExcelProperty(value = "姓名")
|
||||
private String ename;
|
||||
|
||||
@ExcelProperty(value = "部门名称")
|
||||
private String deptname;
|
||||
|
||||
@ExcelProperty(value = "设备编号")
|
||||
private String sn;
|
||||
|
||||
@ExcelProperty(value = "打卡时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date checktime;
|
||||
|
||||
@ExcelProperty(value = "验证方式")
|
||||
private Integer verify;
|
||||
|
||||
@ExcelProperty(value = "状态编号")
|
||||
private Integer stateno;
|
||||
|
||||
@ExcelProperty(value = "状态")
|
||||
private String state;
|
||||
|
||||
@ExcelProperty(value = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createdAt;
|
||||
}
|
||||
Reference in New Issue
Block a user