Commit ce0a43c01a6f7bb9e5e2ab09cb1217723cee48dd
1 parent
037614eb49
Exists in
master
and in
6 other branches
育龄服务生孩统计
Showing 1 changed file with 10 additions and 10 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatDeliverController.java
View file @
ce0a43c
... | ... | @@ -365,11 +365,11 @@ |
365 | 365 | @ResponseBody |
366 | 366 | @RequestMapping(value = "getChildbearAgeCount", method = RequestMethod.GET) |
367 | 367 | public BaseObjectResponse getChildbearAgeCount(HttpServletRequest request, |
368 | - @RequestParam String birth, | |
369 | - @RequestParam String hospitalId, | |
370 | - @RequestParam String proviceId, | |
371 | - @RequestParam String cityId, | |
372 | - @RequestParam String areaId) { | |
368 | + @RequestParam(required = false) String birth, | |
369 | + @RequestParam(required = false) String hospitalId, | |
370 | + @RequestParam(required = false) String proviceId, | |
371 | + @RequestParam(required = false) String cityId, | |
372 | + @RequestParam(required = false) String areaId) { | |
373 | 373 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
374 | 374 | return matDeliverFacade.getChildbearAgeCount(birth,loginState.getId(),hospitalId,proviceId,cityId,areaId); |
375 | 375 | } |
... | ... | @@ -384,11 +384,11 @@ |
384 | 384 | @ResponseBody |
385 | 385 | @RequestMapping(value = "exportChildbearAgeCount", method = RequestMethod.GET) |
386 | 386 | public void exportChildbearAgeCount(HttpServletRequest request, |
387 | - @RequestParam String birth, | |
388 | - @RequestParam String hospitalId, | |
389 | - @RequestParam String proviceId, | |
390 | - @RequestParam String cityId, | |
391 | - @RequestParam String areaId, | |
387 | + @RequestParam(required = false) String birth, | |
388 | + @RequestParam(required = false) String hospitalId, | |
389 | + @RequestParam(required = false) String proviceId, | |
390 | + @RequestParam(required = false) String cityId, | |
391 | + @RequestParam(required = false) String areaId, | |
392 | 392 | HttpServletResponse httpServletResponse) { |
393 | 393 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
394 | 394 | matDeliverFacade.exportChildbearAgeCount(birth, loginState.getId(), hospitalId, proviceId, cityId, areaId, httpServletResponse); |