原始BOM-反查
This commit is contained in:
parent
7baf801d81
commit
820d7496e7
|
|
@ -31,7 +31,7 @@ public class OriginalBomQuery {
|
|||
/**
|
||||
* 报表结果
|
||||
*/
|
||||
@Getter
|
||||
|
||||
private List<ReverseReportVO> reportResult = new ArrayList<>();
|
||||
|
||||
private RedisService redisService = SpringUtil.getBean(RedisService.class);
|
||||
|
|
@ -43,12 +43,13 @@ public class OriginalBomQuery {
|
|||
}
|
||||
|
||||
|
||||
public void report() {
|
||||
public List<ReverseReportVO> report() {
|
||||
if (queryParam.getQueryType().equals(ReportConstant.QueryTypeEnum.SINGLE.getValue())) {
|
||||
singleLevelReport();
|
||||
} else {
|
||||
multipleLevelReport(ImmutableList.of(queryParam.getDrawingNo()));
|
||||
}
|
||||
return reportResult;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -84,8 +85,7 @@ public class OriginalBomQuery {
|
|||
});
|
||||
List<String> dawNos = parentList.stream().map(u -> u.getDrawingNo()).distinct().collect(Collectors.toList());
|
||||
multipleLevelReport(dawNos);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
resultMap.forEach((k, v) -> {
|
||||
reportResult.addAll(v);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue