转PBOM-覆盖时更新创建人,部门
This commit is contained in:
parent
6d77ac079f
commit
349df53fc6
|
|
@ -183,6 +183,9 @@ public abstract class EBomToPbomBase {
|
|||
SpringUtil.getBean(BomNewPbomChildService.class).getBaseMapper().deleteByMap(ImmutableMap.of("parent_row_id", oldParent.getRowId()));
|
||||
oldParent.setSourceRowId(parentVo.getRowId());
|
||||
oldParent.setCreatedTime(LocalDateTime.now());
|
||||
oldParent.setCreatedBy(SessionUtil.getUserCode());
|
||||
oldParent.setDeptName(SessionUtil.getDepartName());
|
||||
oldParent.setDeptRowId(SessionUtil.getDepartRowId());
|
||||
this.pBomParentResult.add(oldParent);
|
||||
return oldParent;
|
||||
// }
|
||||
|
|
|
|||
Loading…
Reference in New Issue