Commit 76950d319d28dd6627a05b80f5e40597ef0b199c
1 parent
3fecf5d817
Exists in
master
and in
6 other branches
改为必须登陆
Showing 1 changed file with 4 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ReportController.java
View file @
76950d3
... | ... | @@ -37,12 +37,12 @@ |
37 | 37 | */ |
38 | 38 | @RequestMapping(method = RequestMethod.GET,value = "/getCheckStatistics") |
39 | 39 | @ResponseBody |
40 | -// @TokenRequired | |
40 | + @TokenRequired | |
41 | 41 | public BaseObjectResponse getCheckStatistics(String startDate, String endDate, |
42 | 42 | Integer startWeek, Integer endWeek, Integer childBirth, HttpServletRequest request) { |
43 | -// LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); | |
44 | -// return reportService.areaCountFacade(startDate, endDate, startWeek, endWeek, childBirth, loginState.getId()); | |
45 | - return reportService.areaCountFacade(startDate, endDate, startWeek, endWeek, childBirth, 753); | |
43 | + LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); | |
44 | + return reportService.areaCountFacade(startDate, endDate, startWeek, endWeek, childBirth, loginState.getId()); | |
45 | +// return reportService.areaCountFacade(startDate, endDate, startWeek, endWeek, childBirth, 753); | |
46 | 46 | } |
47 | 47 | |
48 | 48 |