如果没有子节点则跳过
This commit is contained in:
parent
8c87b8f058
commit
3176249b7d
|
|
@ -59,6 +59,9 @@ public class CheckEBomException {
|
|||
|
||||
allBomDetail = SpringUtil.getBean(BomNewEbomParentService.class).getBomTree(bomRowId, true);
|
||||
BomNewEbomParentEntity parent = SpringUtil.getBean(BomNewEbomParentService.class).getById(bomRowId);
|
||||
if (Objects.isNull(parent)){
|
||||
return;
|
||||
}
|
||||
BomNewEbomParentVO convert = Convert.convert(BomNewEbomParentVO.class, parent);
|
||||
convert.setBomRowId(convert.getRowId());
|
||||
convert.setParentRowId(0L);
|
||||
|
|
|
|||
Loading…
Reference in New Issue