|
|
@ -456,7 +456,6 @@ private ISysAttachService attachService; |
|
|
|
List<ErpBomVo> zeroLevelList = erpBomMapper.selectErpBomList(erpBom); |
|
|
|
if(CollectionUtils.isNotEmpty(zeroLevelList)){ |
|
|
|
for (ErpBomVo bom:zeroLevelList) { |
|
|
|
bom.setLevelType(bom.getLevel().toString()); |
|
|
|
resultList.add(bom); |
|
|
|
ErpBom bom1 = new ErpBom(); |
|
|
|
bom1.setParentId(bom.getId()); |
|
|
@ -474,7 +473,6 @@ private ISysAttachService attachService; |
|
|
|
if(CollectionUtils.isNotEmpty(zeroLevelList)){ |
|
|
|
for (ErpBomVo bom:zeroLevelList) { |
|
|
|
bom.setParentId(0L); |
|
|
|
bom.setLevelType(bom.getLevel().toString()); |
|
|
|
resultList.add(bom); |
|
|
|
ErpBom bom1 = new ErpBom(); |
|
|
|
bom1.setParentId(bom.getId()); |
|
|
|