|
|
@ -475,7 +475,7 @@ public class MasterPartInformationServiceImpl extends ServiceImpl<MasterPartInfo |
|
|
} |
|
|
} |
|
|
List<PartSubPropertiesValueData> checkItem = partInformationMapper.checkItem(itemDate); |
|
|
List<PartSubPropertiesValueData> checkItem = partInformationMapper.checkItem(itemDate); |
|
|
if (checkItem.isEmpty()) { |
|
|
if (checkItem.isEmpty()) { |
|
|
throw new RuntimeException("该项目编码不存在!"); |
|
|
|
|
|
|
|
|
throw new RuntimeException("该项目号不存在!"); |
|
|
} |
|
|
} |
|
|
itemDate.setItemNo(partInformationMapper.getModalDetailSeqNo(itemDate)); |
|
|
itemDate.setItemNo(partInformationMapper.getModalDetailSeqNo(itemDate)); |
|
|
partInformationMapper.addPartItem(itemDate); |
|
|
partInformationMapper.addPartItem(itemDate); |
|
|
|