EBOM正式转PBOM问题
This commit is contained in:
parent
8a69a37635
commit
5c574b98c5
|
|
@ -80,8 +80,8 @@ public class EBomToPBomForFormal31 extends EBomToPbomBase {
|
||||||
check();
|
check();
|
||||||
//bom 提层
|
//bom 提层
|
||||||
liftingLayer();
|
liftingLayer();
|
||||||
// result.forEach(u->u.setLevelNo(""));
|
result.forEach(u->u.setLevelNo(""));
|
||||||
// generateDrawingNo(result, parent.getRowId(), "1");
|
generateDrawingNo(result, parent.getRowId(), "1");
|
||||||
splitData();
|
splitData();
|
||||||
List<String> hasConvert = new ArrayList<>();
|
List<String> hasConvert = new ArrayList<>();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -170,7 +170,6 @@ 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.setCurrentVersion(parentVo.getCurrentVersion());
|
|
||||||
oldParent.setSourceRowId(parentVo.getRowId());
|
oldParent.setSourceRowId(parentVo.getRowId());
|
||||||
oldParent.setCreatedTime(LocalDateTime.now());
|
oldParent.setCreatedTime(LocalDateTime.now());
|
||||||
this.pBomParentResult.add(oldParent);
|
this.pBomParentResult.add(oldParent);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue