|
|
@@ -155,10 +155,10 @@ public class EquipmentBaseServiceImpl extends ServiceImpl<EquipmentBaseMapper, E
|
|
|
throw new ServiceException("设备不存在,无法修改:" + equipmentId);
|
|
|
}
|
|
|
|
|
|
- String newTypeId = entity.getEquipmentTypeId();
|
|
|
+ /*String newTypeId = entity.getEquipmentTypeId();
|
|
|
if (newTypeId != null && getEquipmentTypeById(newTypeId) == null) {
|
|
|
throw new ServiceException("设备类型不存在:" + newTypeId);
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
String newCode = entity.getEquipmentCode();
|
|
|
if (newCode != null) {
|