parent
604895d758
commit
5c20d07732
|
|
@ -592,7 +592,7 @@ public class DeviceController extends ControllerBase {
|
||||||
if (StrUtil.isBlank(dto.getDeviceNo())) {
|
if (StrUtil.isBlank(dto.getDeviceNo())) {
|
||||||
sb.append("设备编号不能为空;");
|
sb.append("设备编号不能为空;");
|
||||||
}
|
}
|
||||||
device.setDeviceName(dto.getDeviceName());
|
// device.setDeviceName(dto.getDeviceName());
|
||||||
device.setDeviceType(dto.getDeviceType());
|
device.setDeviceType(dto.getDeviceType());
|
||||||
if (StrUtil.isBlank(dto.getDeviceType())) {
|
if (StrUtil.isBlank(dto.getDeviceType())) {
|
||||||
sb.append("设备类型不能为空;");
|
sb.append("设备类型不能为空;");
|
||||||
|
|
|
||||||
|
|
@ -610,7 +610,7 @@ public class DeviceController extends ControllerBase {
|
||||||
if (StrUtil.isBlank(dto.getDeviceNo())) {
|
if (StrUtil.isBlank(dto.getDeviceNo())) {
|
||||||
sb.append("设备编号不能为空;");
|
sb.append("设备编号不能为空;");
|
||||||
}
|
}
|
||||||
device.setDeviceName(dto.getDeviceName());
|
// device.setDeviceName(dto.getDeviceName());
|
||||||
device.setDeviceType(dto.getDeviceType());
|
device.setDeviceType(dto.getDeviceType());
|
||||||
if (StrUtil.isBlank(dto.getDeviceType())) {
|
if (StrUtil.isBlank(dto.getDeviceType())) {
|
||||||
sb.append("设备类型不能为空;");
|
sb.append("设备类型不能为空;");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue