Browse Source

2025-04-23

master
qiezi 9 months ago
parent
commit
b60c3c481b
  1. 2
      src/main/java/com/spring/modules/base/service/Impl/PropertiesServiceImpl.java
  2. 2
      src/main/java/com/spring/modules/part/service/impl/MasterPartInformationServiceImpl.java

2
src/main/java/com/spring/modules/base/service/Impl/PropertiesServiceImpl.java

@ -644,7 +644,7 @@ public class PropertiesServiceImpl implements PropertiesService {
resultList = procedureDao.getProcedureData("plm_refreshPartSubPropertiesValueForTool", params);
}else{
//执行方法
resultList = procedureDao.getProcedureData("plm_refreshPartSubPropertiesValue", params);
resultList = procedureDao.getProcedureData("plm_refreshPartSubPropertiesValue", params);
}
//判断是否成功
String code = String.valueOf(resultList.get(0).get("resultCode"));

2
src/main/java/com/spring/modules/part/service/impl/MasterPartInformationServiceImpl.java

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

Loading…
Cancel
Save