EBOM -pbom 物料信息动态获取
This commit is contained in:
parent
544e4ef13f
commit
3379c277cf
|
|
@ -181,7 +181,7 @@ public abstract class EBomToPbomBase {
|
||||||
//if (oldParent.getCreatedBy().equals(parentVo.getCreatedBy())) {
|
//if (oldParent.getCreatedBy().equals(parentVo.getCreatedBy())) {
|
||||||
if (ConvertToPBomModelEnum.OVERRIDE.equalsValue(convertMode.getValue())) {
|
if (ConvertToPBomModelEnum.OVERRIDE.equalsValue(convertMode.getValue())) {
|
||||||
SpringUtil.getBean(BomNewPbomChildService.class).getBaseMapper().deleteByMap(ImmutableMap.of("parent_row_id", oldParent.getRowId()));
|
SpringUtil.getBean(BomNewPbomChildService.class).getBaseMapper().deleteByMap(ImmutableMap.of("parent_row_id", oldParent.getRowId()));
|
||||||
oldParent.setSourceRowId(parentVo.getRowId());
|
oldParent.setSourceRowId(parentVo.getBomRowId());
|
||||||
oldParent.setCreatedTime(LocalDateTime.now());
|
oldParent.setCreatedTime(LocalDateTime.now());
|
||||||
oldParent.setCreatedBy(SessionUtil.getUserCode());
|
oldParent.setCreatedBy(SessionUtil.getUserCode());
|
||||||
oldParent.setDeptName(SessionUtil.getDepartName());
|
oldParent.setDeptName(SessionUtil.getDepartName());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue