fix(ebom): 如果没有历史版本则将本次转正式的数据复制到formal表
This commit is contained in:
parent
9a44353c8d
commit
1d59e425e9
|
|
@ -2511,6 +2511,9 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
||||||
//转移后删除
|
//转移后删除
|
||||||
this.getBaseMapper().delEBomHistory(childParentRowIds);
|
this.getBaseMapper().delEBomHistory(childParentRowIds);
|
||||||
|
|
||||||
|
} else {
|
||||||
|
this.getBaseMapper().insertEBomFormalParent(exceptRowIds);
|
||||||
|
this.getBaseMapper().insertEBomFormalChild(exceptRowIds);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue