pbom-异常处理-异常到正常

This commit is contained in:
大米 2024-10-05 08:47:32 +08:00
parent 6e3d37d1ad
commit 4270e8662d
1 changed files with 1 additions and 1 deletions

View File

@ -2046,7 +2046,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
public void savePBomException(List<BomNewPbomParentVO> allBom){
//父级
List<BomNewPbomParentVO> parents = allBom.stream().filter(u -> u.getBomRowId() != null && u.getBomRowId() > 0 && u.getExceptionStatus()>1).collect(Collectors.toList());
List<BomNewPbomParentVO> parents = allBom.stream().filter(u -> u.getBomRowId() != null && u.getBomRowId() > 0).collect(Collectors.toList());
if (CollUtil.isNotEmpty(parents)) {
List<BomNewPbomParentEntity> pentList = new ArrayList<>();
parents.forEach(k -> {