mbom版本赋值
This commit is contained in:
parent
8d0fc3ad1c
commit
adeb6bccff
|
|
@ -172,6 +172,7 @@ public class MBomForwardReport extends BaseForwardReport {
|
|||
List<Long> rowIdList = new ArrayList<>( Arrays.asList(rowId) );
|
||||
List<ForwardReportVO> reportVOList = new ArrayList<>();
|
||||
orderNum.set(0);
|
||||
|
||||
while (!rowIdList.isEmpty()) {
|
||||
List<BomNewMbomMiddleVO> childList = SpringUtil.getBean(BomNewMbomParentService.class).getBaseMapper().getParentChild(rowIdList, bomRowId);
|
||||
rowIdList.clear();
|
||||
|
|
@ -206,8 +207,17 @@ public class MBomForwardReport extends BaseForwardReport {
|
|||
if(ObjectUtil.equal(item.getRowId(),item.getBomRowId())){
|
||||
rowId = 0l;
|
||||
}
|
||||
listMap.put(item.getRowId(), queryDetail(isMore, rowId, item.getBomRowId()));
|
||||
}
|
||||
List<ForwardReportVO> list= queryDetail(isMore, rowId, item.getBomRowId());
|
||||
|
||||
BomNewMbomParentEntity parentEntity= SpringUtil.getBean(BomNewMbomParentService.class).getById(item.getBomRowId());
|
||||
list.forEach(u->{
|
||||
u.setCurrentVersion(parentEntity.getCurrentVersion());
|
||||
});
|
||||
|
||||
listMap.put(item.getRowId(), list );
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
return listMap;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue