异常判断

This commit is contained in:
jing's 2024-07-05 22:41:03 +08:00
parent 7ec1387c85
commit d502130f01
1 changed files with 7 additions and 5 deletions

View File

@ -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)) {