|
|
@ -279,11 +279,11 @@ public class StatisticalService implements IStatisticalService { |
|
|
|
String type = Constant.CountType.valueOf(param.getCountType()).message; |
|
|
|
//查询统计数据
|
|
|
|
List<StatisticalVo.Item> items = firstAidRecordDao.subentrySpecifyAnswer(param,hospitalIds,type); |
|
|
|
long total = getTotal(items, param.getCountType()); |
|
|
|
//封装返回
|
|
|
|
StatisticalVo.Common common = new StatisticalVo.Common(); |
|
|
|
common.setTotal(total); |
|
|
|
common.setList(items); |
|
|
|
common.setTotal(getTotal(items)); |
|
|
|
List<StatisticalVo.Item> newItems = fillItems(items, param.getStartTime(), param.getEndTime(), param.getCountType()); |
|
|
|
common.setList(newItems); |
|
|
|
return common; |
|
|
|
} |
|
|
|
} |