Commit 4881c9b14ed0d13c1d0a3ac2d19ebfe3f6d57c19

Authored by 云中非
1 parent 697d0e05

feat: 验证设备表单数据SN不能为空

... ... @@ -47,6 +47,9 @@ public class DeviceDTO extends TenantDTO {
47 47 private String tbDeviceId;
48 48 private String deviceTypeId;
49 49
  50 + @NotEmpty(
  51 + message = "设备编号不能为空",
  52 + groups = {AddGroup.class})
50 53 private String sn;
51 54
52 55 @NotEmpty(
... ...