BOM-rowID 调整
This commit is contained in:
parent
0a3c5cdcdb
commit
f544741dff
|
|
@ -114,6 +114,7 @@ public class PBomDetailTask extends RecursiveTask<List<BomNewPbomParentVO>> {
|
||||||
detailVO.setStatus(parent.getStatus());
|
detailVO.setStatus(parent.getStatus());
|
||||||
detailVO.setEditStatus(parent.getEditStatus());
|
detailVO.setEditStatus(parent.getEditStatus());
|
||||||
detailVO.setVirtualPackageIs(parent.getVirtualPackageIs());
|
detailVO.setVirtualPackageIs(parent.getVirtualPackageIs());
|
||||||
|
detailVO.setBomRowId(0L);
|
||||||
}
|
}
|
||||||
detailVO.setModifyTime(LocalDateTime.now());
|
detailVO.setModifyTime(LocalDateTime.now());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -123,6 +123,7 @@ public class PBomFormalTreeTask extends RecursiveTask<List<BomNewPbomParentVO>>
|
||||||
detailVO.setShouldBomExist(ebomParentEntity.getShouldBomExist());
|
detailVO.setShouldBomExist(ebomParentEntity.getShouldBomExist());
|
||||||
detailVO.setVirtualPackageIs(ebomParentEntity.getVirtualPackageIs());
|
detailVO.setVirtualPackageIs(ebomParentEntity.getVirtualPackageIs());
|
||||||
} else {
|
} else {
|
||||||
|
detailVO.setBomRowId(0L);
|
||||||
BomNewPbomParentEntity parent = SpringUtil.getBean(BomNewPbomParentService.class).lambdaQuery().eq(BomNewPbomParentEntity::getRowId, detailVO.getParentRowId()).one();
|
BomNewPbomParentEntity parent = SpringUtil.getBean(BomNewPbomParentService.class).lambdaQuery().eq(BomNewPbomParentEntity::getRowId, detailVO.getParentRowId()).one();
|
||||||
if(Objects.nonNull(parent)) {
|
if(Objects.nonNull(parent)) {
|
||||||
detailVO.setDeviseUserCode(parent.getDeviseUserCode());
|
detailVO.setDeviseUserCode(parent.getDeviseUserCode());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue