Commit bbcbb15a by 袁伟铭

修改

parent d7c12dc6
......@@ -140,13 +140,13 @@ public class BzStatsService {
public Object getCremationRateStats(StatsReqVo vo) {
Map<String, Object> statsMap = getCremationStatsList(vo);
List<VBzCremationStats> list = (List<VBzCremationStats>) statsMap.get("statsLst");
List<StatsVo> list = (List<StatsVo>) statsMap.get("statsLst");
List<Map<String, Object>> returnData = new ArrayList<>();
for (VBzCremationStats vBzCremationStats : list) {
for (StatsVo statsVo : list) {
Map<String, Object> data = new HashMap<>();
data.put("name", vBzCremationStats.getAreaName());
data.put("value", vBzCremationStats.getCremationSum());
data.put("name", statsVo.getName());
data.put("value", statsVo.getNum());
returnData.add(data);
}
redisUtils.setObj(PortalCacheKeys.getCremationRateStatsKey(vo), returnData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment