Pbom-解决T项只能加一个的问题
This commit is contained in:
parent
db7a3752bd
commit
8cbf61aafc
|
|
@ -532,6 +532,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
||||||
childList.forEach(u -> {
|
childList.forEach(u -> {
|
||||||
u.setParentRowId(paramDTO.getBomRowId());
|
u.setParentRowId(paramDTO.getBomRowId());
|
||||||
if(u.getRowId() == null || u.getRowId()<=0){
|
if(u.getRowId() == null || u.getRowId()<=0){
|
||||||
|
u.setRowId(IdWorker.getId());
|
||||||
u.setSourceStatus(PbomSourceStatusEnum.PBOM.getValue());
|
u.setSourceStatus(PbomSourceStatusEnum.PBOM.getValue());
|
||||||
u.setFacCode(parent.getFacCode());
|
u.setFacCode(parent.getFacCode());
|
||||||
//新增T项
|
//新增T项
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue