feat(watch): 手表数据统计与设备管理功能增强
- WatchDataItemVO 新增 Date 类型字段及 JsonFormat 格式化支持 - DeptStatisticDataController 部门统计数据查询逻辑优化 - IWatchDeviceService 接口扩展新业务方法声明
This commit is contained in:
+12
-3
@@ -1,9 +1,11 @@
|
||||
package com.renkang.watch.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 手表数据条目 VO
|
||||
@@ -20,10 +22,10 @@ public class WatchDataItemVO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 工号
|
||||
* 员工编号
|
||||
*/
|
||||
@Schema(title = "工号")
|
||||
private String workNo;
|
||||
@Schema(title = "员工编号")
|
||||
private String employeeNum;
|
||||
|
||||
/**
|
||||
* 手表编号
|
||||
@@ -36,4 +38,11 @@ public class WatchDataItemVO implements Serializable {
|
||||
*/
|
||||
@Schema(title = "姓名")
|
||||
private String realName;
|
||||
|
||||
/**
|
||||
* 绑定日期
|
||||
*/
|
||||
@Schema(title = "绑定日期")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
private Date bindDate;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user