|
|
@ -4062,6 +4062,13 @@ public class IcResiUserServiceImpl extends BaseServiceImpl<IcResiUserDao, IcResi |
|
|
|
Map<String,Integer> map = totalList.stream().collect(Collectors.toMap(ResiPortrayalResultDTO::getCode,ResiPortrayalResultDTO::getTotalResi)); |
|
|
|
List<ResiPortrayalResultDTO> resultDTOList = new ArrayList<>(); |
|
|
|
int total=NumConstant.ZERO; |
|
|
|
|
|
|
|
|
|
|
|
DictListResultDTO otherDict = new DictListResultDTO(); |
|
|
|
otherDict.setValue(null); |
|
|
|
otherDict.setLabel("其他"); |
|
|
|
dictResult.getData().add(otherDict); |
|
|
|
|
|
|
|
for (DictListResultDTO dict : dictResult.getData()) { |
|
|
|
ResiPortrayalResultDTO resultDTO = new ResiPortrayalResultDTO(); |
|
|
|
resultDTO.setCode(dict.getValue()); |
|
|
@ -4073,6 +4080,7 @@ public class IcResiUserServiceImpl extends BaseServiceImpl<IcResiUserDao, IcResi |
|
|
|
resultDTOList.add(resultDTO); |
|
|
|
total += resultDTO.getTotalResi(); |
|
|
|
} |
|
|
|
|
|
|
|
result.setTotal(total); |
|
|
|
result.setList(resultDTOList); |
|
|
|
return result; |
|
|
|