重构手表绑定导入接口

This commit is contained in:
feng
2025-12-23 16:10:50 +08:00
parent 492e44bb80
commit e45f571cd2
4 changed files with 264 additions and 21 deletions
@@ -0,0 +1,30 @@
package com.renkang.watch.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
@Data
@Schema(title = "手表绑定记录导入v2版本")
public class WatchDeviceExcelV2 {
@Excel(name = "手表SN编码(必填)", width = 30)
@Schema(title = "手表SN编码(必填)")
private String watchNo;
@Excel(name = "员工编号(必填)", width = 25)
@Schema(title = "员工编号(必填)")
private String workNo;
@Excel(name = "员工姓名", width = 20)
@Schema(title = "员工姓名")
private String realName;
@Excel(name = "处理结果", width = 20)
@Schema(title = "处理结果(导入成功,导入失败)")
private String successFlag;
@Excel(name = "备注信息", width = 50)
@Schema(title = "备注信息")
private String remark;
}
@@ -58,7 +58,7 @@ public class WatchDevice implements Serializable {
*/
@Excel(name = "绑定状态", width = 15)
@TableField(exist = false)
@Schema(title = "绑定状态")
@Schema(title = "绑定状态(0-未绑定,1-已绑定)")
private java.lang.String watchStatus;
/**
* 在线状态