1、 单层反查
This commit is contained in:
parent
320dd02854
commit
5a16d05a0d
|
|
@ -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<>();
|
||||
|
||||
|
|
|
|||
|
|
@ -167,8 +167,8 @@ public abstract class EBomToPbomBase {
|
|||
}
|
||||
//pbom 处于工作表
|
||||
else if (Objects.nonNull(oldParent) && oldParent.getStatus() < EBomStatusEnum.PUBLISHED.getValue()) {
|
||||
if (oldParent.getCreatedBy() == parentVo.getCreatedBy()) {
|
||||
if (ConvertToPBomModelEnum.OVERRIDE.equals(convertMode.getValue())) {
|
||||
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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue