Browse Source

2025/8/8

master
Aoi_Tori 5 months ago
parent
commit
76154e0c40
  1. 7
      src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java

7
src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java

@ -4500,18 +4500,19 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe
exceptionList.add(repeatPartNoRowsStr); exceptionList.add(repeatPartNoRowsStr);
} }
if (!wrongBuNoRows.isEmpty()){ if (!wrongBuNoRows.isEmpty()){
String wrongBuNoRowsStr = "BU异常: 第" + wrongBuNoRows.stream().map(Object::toString).collect(Collectors.joining("/")) + "行";
String wrongBuNoRowsStr = "BU不存在: 第" + wrongBuNoRows.stream().map(Object::toString).collect(Collectors.joining("/")) + "行";
exceptionList.add(wrongBuNoRowsStr); exceptionList.add(wrongBuNoRowsStr);
} }
if (!wrongIfsPartNoRows.isEmpty()){ if (!wrongIfsPartNoRows.isEmpty()){
String wrongIfsPartNosStr = null;
/* String wrongIfsPartNosStr = null;
if ("N".equals(searchType)){ if ("N".equals(searchType)){
// Inventory Part // Inventory Part
wrongIfsPartNosStr = "IFS物料编码在Inventory Part中不存在: 第"+ wrongIfsPartNoRows.stream().map(Object::toString).collect(Collectors.joining("/")) + "行"; wrongIfsPartNosStr = "IFS物料编码在Inventory Part中不存在: 第"+ wrongIfsPartNoRows.stream().map(Object::toString).collect(Collectors.joining("/")) + "行";
} else { } else {
// Project Part // Project Part
wrongIfsPartNosStr = "IFS物料编码在Project Part中不存在: 第"+ wrongIfsPartNoRows.stream().map(Object::toString).collect(Collectors.joining("/")) + "行"; wrongIfsPartNosStr = "IFS物料编码在Project Part中不存在: 第"+ wrongIfsPartNoRows.stream().map(Object::toString).collect(Collectors.joining("/")) + "行";
}
}*/
String wrongIfsPartNosStr = "IFS物料编码不存在: 第"+ wrongIfsPartNoRows.stream().map(Object::toString).collect(Collectors.joining("/")) + "行";
exceptionList.add(wrongIfsPartNosStr); exceptionList.add(wrongIfsPartNosStr);
} }
list.setRecords(exceptionList); list.setRecords(exceptionList);

Loading…
Cancel
Save