bug修复
This commit is contained in:
parent
c17a135723
commit
1aa13ece77
|
|
@ -543,6 +543,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
||||||
List<BomNewPbomParentVO> allBom = getAllBom(bomRowId, 0);
|
List<BomNewPbomParentVO> allBom = getAllBom(bomRowId, 0);
|
||||||
List<Long> bomRowIds = allBom.stream().filter(u -> PBomStatusEnum.WAIT_PUBLISH.equalsValue(u.getStatus()) && u.getBomRowId() > 0).map(u -> u.getBomRowId()).collect(Collectors.toList());
|
List<Long> bomRowIds = allBom.stream().filter(u -> PBomStatusEnum.WAIT_PUBLISH.equalsValue(u.getStatus()) && u.getBomRowId() > 0).map(u -> u.getBomRowId()).collect(Collectors.toList());
|
||||||
Integer state= parent.getMaterialNo().startsWith("31")?PBomStatusEnum.WAIT_FACTORY.getValue():PBomStatusEnum.PUBLISH.getValue();
|
Integer state= parent.getMaterialNo().startsWith("31")?PBomStatusEnum.WAIT_FACTORY.getValue():PBomStatusEnum.PUBLISH.getValue();
|
||||||
|
bomRowIds.add(bomRowId);
|
||||||
this.getBaseMapper().bomRelease(state,SessionUtil.getUserName(),bomRowIds);
|
this.getBaseMapper().bomRelease(state,SessionUtil.getUserName(),bomRowIds);
|
||||||
}
|
}
|
||||||
catch (Exception ex){
|
catch (Exception ex){
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,9 @@ public class EBomDetailTask extends RecursiveTask<List<BomNewEbomParentVO>> {
|
||||||
detailVO.setBomRowId(ebomParentEntity.getRowId());
|
detailVO.setBomRowId(ebomParentEntity.getRowId());
|
||||||
detailVO.setSourceRowId(ebomParentEntity.getSourceRowId());
|
detailVO.setSourceRowId(ebomParentEntity.getSourceRowId());
|
||||||
detailVO.setCurrentVersion(ebomParentEntity.getCurrentVersion());
|
detailVO.setCurrentVersion(ebomParentEntity.getCurrentVersion());
|
||||||
|
detailVO.setDeviseUserCode(ebomParentEntity.getDeviseUserCode());
|
||||||
|
detailVO.setDeptName(ebomParentEntity.getDeptName());
|
||||||
|
detailVO.setDeviseName(ebomParentEntity.getDeviseName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue