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