修改类型
Some checks are pending
Java CI with Maven / build (11) (push) Waiting to run
Java CI with Maven / build (17) (push) Waiting to run
Java CI with Maven / build (8) (push) Waiting to run
yudao-ui-admin CI / build (14.x) (push) Waiting to run
yudao-ui-admin CI / build (16.x) (push) Waiting to run

This commit is contained in:
Flow 2025-06-09 15:16:41 +08:00
parent 0dc1dabca0
commit b136bb0707
4 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ public class DevicePageReqVO extends PageParam {
private String devicename;
@Schema(description = "设备ID/编号")
private String devicecode;
private Integer devicecode;
@Schema(description = "设备类型", example = "1")
private String devicetype;

View File

@ -22,7 +22,7 @@ public class DeviceRespVO {
@Schema(description = "设备ID/编号", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("设备ID/编号")
private String devicecode;
private Integer devicecode;
@Schema(description = "设备类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
@ExcelProperty("设备类型")

View File

@ -20,7 +20,7 @@ public class DeviceSaveReqVO {
@Schema(description = "设备ID/编号", requiredMode = Schema.RequiredMode.REQUIRED)
@NotEmpty(message = "设备ID/编号不能为空")
private String devicecode;
private Integer devicecode;
@Schema(description = "设备类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
@NotEmpty(message = "设备类型不能为空")

View File

@ -36,7 +36,7 @@ public class DeviceDO extends BaseDO {
* 设备ID/编号
*/
@TableField("devicecode")
private String devicecode;
private Integer devicecode;
/**
* 设备类型
*/