pbom-发布只发布自己的
This commit is contained in:
parent
f888d1ef70
commit
ed45236c00
|
|
@ -1188,7 +1188,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
|||
*/
|
||||
private void initPBomCurrentVersion(List<BomNewPbomParentVO> allPBom){
|
||||
|
||||
List<BomNewPbomParentVO> waitReleaseBom = allPBom.stream().filter(u -> PBomStatusEnum.WAIT_PUBLISH.equalsValue(u.getStatus()) && u.getBomRowId() > 0).collect(Collectors.toList());
|
||||
List<BomNewPbomParentVO> waitReleaseBom = allPBom.stream().filter(u ->SessionUtil.getUserCode().equals(u.getCreatedBy()) && PBomStatusEnum.WAIT_PUBLISH.equalsValue(u.getStatus()) && u.getBomRowId() > 0).collect(Collectors.toList());
|
||||
for (BomNewPbomParentVO newPBom : waitReleaseBom) {
|
||||
|
||||
BomNewPbomParentEntity oldParent = SpringUtil.getBean(BomNewPbomParentService.class).lambdaQuery()
|
||||
|
|
|
|||
Loading…
Reference in New Issue