EBOM正式转PBOM问题
This commit is contained in:
parent
8a69a37635
commit
5c574b98c5
|
|
@ -80,8 +80,8 @@ public class EBomToPBomForFormal31 extends EBomToPbomBase {
|
|||
check();
|
||||
//bom 提层
|
||||
liftingLayer();
|
||||
// result.forEach(u->u.setLevelNo(""));
|
||||
// generateDrawingNo(result, parent.getRowId(), "1");
|
||||
result.forEach(u->u.setLevelNo(""));
|
||||
generateDrawingNo(result, parent.getRowId(), "1");
|
||||
splitData();
|
||||
List<String> hasConvert = new ArrayList<>();
|
||||
|
||||
|
|
|
|||
|
|
@ -170,7 +170,6 @@ public abstract class EBomToPbomBase {
|
|||
if (oldParent.getCreatedBy().equals( parentVo.getCreatedBy())) {
|
||||
if (ConvertToPBomModelEnum.OVERRIDE.equalsValue(convertMode.getValue())) {
|
||||
SpringUtil.getBean(BomNewPbomChildService.class).getBaseMapper().deleteByMap(ImmutableMap.of("parent_row_id", oldParent.getRowId()));
|
||||
oldParent.setCurrentVersion(parentVo.getCurrentVersion());
|
||||
oldParent.setSourceRowId(parentVo.getRowId());
|
||||
oldParent.setCreatedTime(LocalDateTime.now());
|
||||
this.pBomParentResult.add(oldParent);
|
||||
|
|
|
|||
Loading…
Reference in New Issue