Commit 292963e0df18871f0b63b939e02a703983a81fe0
1 parent
455a707db0
Exists in
master
and in
6 other branches
update code
Showing 1 changed file with 13 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java
View file @
292963e
| 1 | 1 | package com.lyms.platform.operate.web.controller; |
| 2 | 2 | |
| 3 | +import com.lyms.hospitalapi.dzfy.DzfyFmService; | |
| 3 | 4 | import com.lyms.hospitalapi.qhdfy.QhdfyFmService; |
| 4 | 5 | import com.lyms.hospitalapi.qhdfy.QhdfyHisService; |
| 5 | 6 | import com.lyms.platform.biz.JdbcUtil; |
| ... | ... | @@ -83,6 +84,9 @@ |
| 83 | 84 | private QhdfyFmService qhdfyFmService; |
| 84 | 85 | |
| 85 | 86 | @Autowired |
| 87 | + private DzfyFmService dzfyFmService; | |
| 88 | + | |
| 89 | + @Autowired | |
| 86 | 90 | private GenSequenceIdService genIdService; |
| 87 | 91 | |
| 88 | 92 | /** |
| ... | ... | @@ -992,6 +996,15 @@ |
| 992 | 996 | public String syncFmBySyxh(@RequestParam(required = true) String start, @RequestParam(required = true) String end, @RequestParam(required = false) String syxh) { |
| 993 | 997 | qhdfyFmService.syncByPhone(start, end, syxh); |
| 994 | 998 | return "syncFmBySyxh finish"; |
| 999 | + } | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + //德州分娩测试用 | |
| 1003 | + @RequestMapping(value = "/syncDzFmByPhone", method = RequestMethod.GET) | |
| 1004 | + @ResponseBody | |
| 1005 | + public String syncDzFmByPhone(@RequestParam(required = true) String start, @RequestParam(required = true) String end, @RequestParam(required = false) String phone) { | |
| 1006 | + dzfyFmService.syncByPhone(start, end, phone); | |
| 1007 | + return "syncDzFmByPhone finish"; | |
| 995 | 1008 | } |
| 996 | 1009 | |
| 997 | 1010 | public static void main(String[] a) { |