Commit c172d3091de3656a411f57f28b89e88e2e639344

Authored by gengxiaokai
1 parent f18bd0acba

秦皇岛冠新公卫接口

Showing 1 changed file with 4 additions and 4 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/QhdJbgwController.java View file @ c172d30
... ... @@ -22,11 +22,11 @@
22 22 private QhdJbgwInterface qhdJbgwInterface;
23 23  
24 24  
25   - @RequestMapping(/*method = RequestMethod.POST,*/value = "/qhd/ycdj")
  25 + @RequestMapping(method = RequestMethod.POST,value = "/qhd/ycdj")
26 26 @ResponseBody
27   - public List<Map<String,String>> qhdYcdj(@RequestBody String startDate,@RequestBody String endDate){
28   - if(StringUtils.isNotEmpty(startDate) && StringUtils.isNotEmpty(endDate)){
29   - return qhdJbgwInterface.getPatient(startDate,endDate);
  27 + public List<Map<String,String>> qhdYcdj(@RequestBody Map<String,String> map){
  28 + if(StringUtils.isNotEmpty(map.get("startDate")) && StringUtils.isNotEmpty(map.get("endDate"))){
  29 + return qhdJbgwInterface.getPatient(map.get("startDate"),map.get("endDate"));
30 30 }
31 31 return null;
32 32 }