Commit 99905e30bb9f173bf137df91aa9b37a2314c967c
1 parent
566392fda0
Exists in
master
and in
6 other branches
查询号bug修改
Showing 1 changed file with 3 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/AntexDoctorStatistController.java
View file @
99905e3
... | ... | @@ -59,7 +59,7 @@ |
59 | 59 | @RequestMapping(method = RequestMethod.GET,value = "/getDoctorStatic") |
60 | 60 | @ResponseBody |
61 | 61 | @TokenRequired |
62 | - public BaseObjectResponse getDoctorStatic(Date startDate,Date endDate,int childBirth ,HttpServletRequest request){ | |
62 | + public BaseObjectResponse getDoctorStatic(Date startDate,Date endDate,Integer childBirth ,HttpServletRequest request){ | |
63 | 63 | BaseObjectResponse rest = new BaseObjectResponse(); |
64 | 64 | |
65 | 65 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
... | ... | @@ -78,7 +78,7 @@ |
78 | 78 | } |
79 | 79 | //有效 |
80 | 80 | patientsQuery.setYn(1); |
81 | - if(childBirth!=0){ | |
81 | + if(childBirth!=null){ | |
82 | 82 | patientsQuery.setType(childBirth); |
83 | 83 | } |
84 | 84 | //获取患者集合 |
... | ... | @@ -233,7 +233,7 @@ |
233 | 233 | allFiveBl = df.format((float)allFive/allCount*100)+"%"; |
234 | 234 | } |
235 | 235 | |
236 | - System.out.println("总人数:"+allCount+",总人次:"+allCjrc+",总2次以上:"+allDoub+",总5次以上:"+allFive+",总两次比例:"+allDoubBl+",总五次比例:"+allFiveBl); | |
236 | + // System.out.println("总人数:"+allCount+",总人次:"+allCjrc+",总2次以上:"+allDoub+",总5次以上:"+allFive+",总两次比例:"+allDoubBl+",总五次比例:"+allFiveBl); | |
237 | 237 | |
238 | 238 | //填充总计数据 |
239 | 239 | Map<String,Object> allMap = gridList.get(0); |