提交代码
parent
9fc9b9e3b2
commit
8a761e00a3
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue