Merge branch 'refs/heads/feature/DM/nflg-bom-dq' into feature/DM/nflg-bom-transition
This commit is contained in:
commit
a4d4b2cffc
|
|
@ -238,7 +238,10 @@ public class DQBomService {
|
||||||
parent.setCreatedJob(userRoleService.technician() ? UserJobEnum.ENGINEER.getValue() : UserJobEnum.DESIGNER.getValue());
|
parent.setCreatedJob(userRoleService.technician() ? UserJobEnum.ENGINEER.getValue() : UserJobEnum.DESIGNER.getValue());
|
||||||
parent.setSource(2);
|
parent.setSource(2);
|
||||||
dQBomParentService.save(parent);
|
dQBomParentService.save(parent);
|
||||||
query.getParent().setBomRowId(parent.getRowId());
|
BomNewDQbomVO pvo = Convert.convert(BomNewDQbomVO.class, parent);
|
||||||
|
pvo.setBomRowId(parent.getRowId());
|
||||||
|
query.setParent(pvo);
|
||||||
|
//query.getParent().setBomRowId(parent.getRowId());
|
||||||
} else {
|
} else {
|
||||||
//删除所有子级关系
|
//删除所有子级关系
|
||||||
dQBomChildService.deleteAllChildren(query.getParent().getBomRowId());
|
dQBomChildService.deleteAllChildren(query.getParent().getBomRowId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue