pbom-异常处理-异常到正常
This commit is contained in:
parent
6e3d37d1ad
commit
4270e8662d
|
|
@ -2046,7 +2046,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
||||||
|
|
||||||
public void savePBomException(List<BomNewPbomParentVO> allBom){
|
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)) {
|
if (CollUtil.isNotEmpty(parents)) {
|
||||||
List<BomNewPbomParentEntity> pentList = new ArrayList<>();
|
List<BomNewPbomParentEntity> pentList = new ArrayList<>();
|
||||||
parents.forEach(k -> {
|
parents.forEach(k -> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue