Merge branch 'feature/DM/nflg-bom' of http://112.74.186.154:3000/nflj/nflg_project into feature/DM/nflg-bom

This commit is contained in:
jing's 2024-03-11 17:23:18 +08:00
commit 0bb6ecfa72
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ public class CheckEBomException {
allBomDetail = SpringUtil.getBean(BomNewEbomParentService.class).getBomTree(bomRowId, true); allBomDetail = SpringUtil.getBean(BomNewEbomParentService.class).getBomTree(bomRowId, true);
BomNewEbomParentEntity parent = SpringUtil.getBean(BomNewEbomParentService.class).getById(bomRowId); BomNewEbomParentEntity parent = SpringUtil.getBean(BomNewEbomParentService.class).getById(bomRowId);
if (Objects.isNull(parent)){
return;
}
BomNewEbomParentVO convert = Convert.convert(BomNewEbomParentVO.class, parent); BomNewEbomParentVO convert = Convert.convert(BomNewEbomParentVO.class, parent);
convert.setBomRowId(convert.getRowId()); convert.setBomRowId(convert.getRowId());
convert.setParentRowId(0L); convert.setParentRowId(0L);