|
|
|
@ -634,7 +634,7 @@ public class OperPhenomenonServiceImpl extends BaseServiceImpl<OperPhenomenonMap
|
|
|
|
|
List<String> handerIds = Optional.ofNullable(list).orElse(new ArrayList<>()).stream().filter(s -> s.getIsDefect() !=null).filter(s -> "1".equals(s.getHandleStatus())).map(s -> s.getDefectCode()).collect(Collectors.toList()); |
|
|
|
|
List<String> conclusionIds = Optional.ofNullable(list).orElse(new ArrayList<>()).stream().filter(s -> s.getIsDefect() !=null).filter(s -> "1".equals(s.getConclusionStatus())).map(s -> s.getDefectCode()).collect(Collectors.toList()); |
|
|
|
|
voteChartVo.setPhenomenonNum(list.size()); |
|
|
|
|
voteChartVo.setPhenomenonIds(list.stream().map(s -> s.getId()).collect(Collectors.toList())); |
|
|
|
|
voteChartVo.setPhenomenonIds(list.stream().map(s -> s.getDefectCode()).collect(Collectors.toList())); |
|
|
|
|
voteChartVo.setDefectNum(checkIds.size()); |
|
|
|
|
voteChartVo.setDefectIds(checkIds); |
|
|
|
|
voteChartVo.setHandleNum(handerIds.size()); |
|
|
|
|