异常判断
This commit is contained in:
parent
7ec1387c85
commit
d502130f01
|
|
@ -66,6 +66,7 @@ public class PBomFormalTreeTask extends RecursiveTask<List<BomNewPbomParentVO>>
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
for (BomNewPbomParentVO vo :
|
for (BomNewPbomParentVO vo :
|
||||||
bomDetail) {
|
bomDetail) {
|
||||||
vo.setLevelNum(levelNum);
|
vo.setLevelNum(levelNum);
|
||||||
|
|
@ -74,6 +75,7 @@ public class PBomFormalTreeTask extends RecursiveTask<List<BomNewPbomParentVO>>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
List<String> materialNos = bomDetail.stream().filter(u -> StrUtil.isNotBlank(u.getMaterialNo())).map(BomNewPbomParentVO::getMaterialNo).collect(Collectors.toList());
|
List<String> materialNos = bomDetail.stream().filter(u -> StrUtil.isNotBlank(u.getMaterialNo())).map(BomNewPbomParentVO::getMaterialNo).collect(Collectors.toList());
|
||||||
|
|
||||||
if (CollUtil.isNotEmpty(materialNos)) {
|
if (CollUtil.isNotEmpty(materialNos)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue