发布拷贝数据

This commit is contained in:
jing's 2024-03-03 18:16:44 +08:00
parent f858d21f6f
commit 0c55aa1734
2 changed files with 4 additions and 1 deletions

View File

@ -748,6 +748,9 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
if(CollUtil.isNotEmpty(bomChildren)) { if(CollUtil.isNotEmpty(bomChildren)) {
ebomChildService.updateBatchById(bomChildren); ebomChildService.updateBatchById(bomChildren);
} }
SpringUtil.getBean(BomNewEbomParentFormalService.class).copyEbomFormal(bomRowId);
} }
} }

View File

@ -880,7 +880,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
pbomChildService.updateBatchById(pBomChildren); pbomChildService.updateBatchById(pBomChildren);
} }
SpringUtil.getBean(BomNewPbomParentFormalService.class).copyPbomFormal(bomRowId);
} catch (Exception ex) { } catch (Exception ex) {
throw new NflgBusinessException(STATE.BusinessError, "发布Pbom失败" + ex.getMessage()); throw new NflgBusinessException(STATE.BusinessError, "发布Pbom失败" + ex.getMessage());
} }