|
|
@@ -155,9 +155,6 @@ public class VppDeviceServiceImpl implements VppDeviceService {
|
|
|
if (!StringUtils.hasText(request.getDeviceName())) {
|
|
|
throw new BusinessException("设备名称不能为空");
|
|
|
}
|
|
|
- if (!StringUtils.hasText(request.getDeviceType())) {
|
|
|
- throw new BusinessException("设备类型不能为空");
|
|
|
- }
|
|
|
ensureUniqueField(VppDevice::getDeviceCode, request.getDeviceCode(), excludeId, "设备编号已存在");
|
|
|
}
|
|
|
|