1、EBOM-编辑问题
This commit is contained in:
parent
5995b101a5
commit
820aff2be0
|
|
@ -41,7 +41,7 @@ public class EBomEdit {
|
||||||
BomNewEbomParentEntity createParentBomInfo(BomNewEbomParentVO vo) {
|
BomNewEbomParentEntity createParentBomInfo(BomNewEbomParentVO vo) {
|
||||||
|
|
||||||
BomNewEbomParentEntity parent = new BomNewEbomParentEntity();
|
BomNewEbomParentEntity parent = new BomNewEbomParentEntity();
|
||||||
BeanUtil.copyProperties(parent, vo);
|
BeanUtil.copyProperties(vo,parent);
|
||||||
|
|
||||||
// BaseMaterialVO material = materialVOMap.get(vo.getMaterialNo());
|
// BaseMaterialVO material = materialVOMap.get(vo.getMaterialNo());
|
||||||
String batchNo = IdUtil.simpleUUID();
|
String batchNo = IdUtil.simpleUUID();
|
||||||
|
|
@ -208,6 +208,9 @@ public class EBomEdit {
|
||||||
if (dto.getParent().getBomRowId() == null || dto.getParent().getBomRowId().longValue() == 0) {
|
if (dto.getParent().getBomRowId() == null || dto.getParent().getBomRowId().longValue() == 0) {
|
||||||
dto.getParent().setBomRowId(dto.getParent().getRowId());
|
dto.getParent().setBomRowId(dto.getParent().getRowId());
|
||||||
parent = createParentBomInfo(dto.getParent());
|
parent = createParentBomInfo(dto.getParent());
|
||||||
|
dto.getDatas().forEach(k->{
|
||||||
|
k.setParentRowId(parent.getRowId());
|
||||||
|
});
|
||||||
parent.setEditStatus(dto.getOpType());
|
parent.setEditStatus(dto.getOpType());
|
||||||
|
|
||||||
//工艺人员
|
//工艺人员
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue