提交代码

dev_xds
姜玉琦 2024-03-28 13:23:50 +08:00
parent 9fc9b9e3b2
commit 8a761e00a3
1 changed files with 8 additions and 4 deletions

View File

@ -210,13 +210,17 @@ public class ProblemmodifyController extends BaseController {
where.setPrjIds(getProjectIds());
}
}
Map<String, List<SmzSspProblemmodify>> map=new HashMap<>();
map.put("today",smzSspProblemmodifyService.countByDate(where));
Map<String,List<Map<String, Object>>> map=new HashMap<>();
//map.put("today",smzSspProblemmodifyService.countByDate(where));
map.put("today",smzSspProblemmodifyService.countByDateNew(where));
Date[] dts=DateUtils.getCurrentWeekDate();
where.setStartDate(dts[0]);
where.setEndDate(dts[1]);
map.put("week",smzSspProblemmodifyService.countByDateRange(where));
map.put("group",smzSspProblemmodifyService.groupByInfotypeCheckState(where));
//map.put("week",smzSspProblemmodifyService.countByDateRange(where));
map.put("week",smzSspProblemmodifyService.countByDateRangeNew(where));
//各类型整改、未整改数量统计
map.put("group",smzSspProblemmodifyService.groupByInfotypeCheckStateNew(where));
redisCache.setCacheObject(key, map, Constants.BIGSCREEN_QUERY_CACHE, TimeUnit.MINUTES);
return AjaxResult.success(map);
}