diff --git a/src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java b/src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java index 444511a8..00e2b504 100644 --- a/src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java +++ b/src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java @@ -481,11 +481,11 @@ public class PartInformationServiceImpl extends ServiceImpl checkItem = partInformationMapper.checkItem(itemDate); if (checkItem.isEmpty()) { - throw new RuntimeException("该项目编码不存在!"); + throw new RuntimeException("属性编码不存在!"); } List checkDetail = partInformationMapper.checkPartItem(itemDate); if (!checkDetail.isEmpty()) { - throw new RuntimeException("该项目已存在!"); + throw new RuntimeException("属性编码已存在!"); } itemDate.setItemNo(partInformationMapper.getModalDetailSeqNo(itemDate)); partInformationMapper.addPartItem(itemDate); @@ -951,11 +951,11 @@ public class PartInformationServiceImpl extends ServiceImpl checkItem = partInformationMapper.checkItem(itemDate); if (checkItem.isEmpty()) { - throw new RuntimeException("该项目编码不存在!"); + throw new RuntimeException("属性编码不存在!"); } List checkDetail = partInformationMapper.checkPartItem(itemDate); if (!checkDetail.isEmpty()) { - throw new RuntimeException("该项目已存在!"); + throw new RuntimeException("属性编码已存在!"); } itemDate.setItemNo(partInformationMapper.getModalDetailSeqNo(itemDate)); partInformationMapper.addPartItem(itemDate); @@ -1504,11 +1504,11 @@ public class PartInformationServiceImpl extends ServiceImpl checkItem = partInformationMapper.checkItem(itemDate); if (checkItem.isEmpty()) { - throw new RuntimeException("该项目编码不存在!"); + throw new RuntimeException("属性编码不存在!"); } List checkDetail = partInformationMapper.checkPartItem(itemDate); if (!checkDetail.isEmpty()) { - throw new RuntimeException("该项目已存在!"); + throw new RuntimeException("属性编码已存在!"); } itemDate.setItemNo(partInformationMapper.getModalDetailSeqNo(itemDate)); partInformationMapper.addPartItem(itemDate); @@ -2846,11 +2846,11 @@ public class PartInformationServiceImpl extends ServiceImpl checkItem = partInformationMapper.checkItem(itemDate); if (checkItem.isEmpty()) { - throw new RuntimeException("该项目编码不存在!"); + throw new RuntimeException("该属性项目编码不存在!"); } List checkDetail = partInformationMapper.checkPartItem(itemDate); if (!checkDetail.isEmpty()) { - throw new RuntimeException("该项目已存在!"); + throw new RuntimeException("该属性项目已存在!"); } itemDate.setItemNo(partInformationMapper.getModalDetailSeqNo(itemDate)); partInformationMapper.addPartItem(itemDate);