Commit 60fda01418d0d3413b9cad6190659f168248a4ee
1 parent
1f9610c59a
Exists in
master
and in
8 other branches
修改转诊
Showing 1 changed file with 10 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java
View file @
60fda01
... | ... | @@ -4,6 +4,7 @@ |
4 | 4 | import com.lyms.platform.biz.JdbcUtil; |
5 | 5 | import com.lyms.platform.biz.service.AssayConfigService; |
6 | 6 | import com.lyms.platform.biz.service.PatientsService; |
7 | +import com.lyms.platform.biz.service.SieveService; | |
7 | 8 | import com.lyms.platform.common.enums.YnEnums; |
8 | 9 | import com.lyms.platform.common.utils.DateUtil; |
9 | 10 | import com.lyms.platform.common.utils.JsonUtil; |
... | ... | @@ -45,6 +46,9 @@ |
45 | 46 | |
46 | 47 | @Autowired |
47 | 48 | private SyncDataTaskService syncDataTaskService; |
49 | + @Autowired | |
50 | + private SieveService sieveService | |
51 | + ; | |
48 | 52 | |
49 | 53 | /** |
50 | 54 | * 获取科室 |
... | ... | @@ -233,7 +237,12 @@ |
233 | 237 | syncDataTaskService.syncQhdSieve(); |
234 | 238 | return "syncQhdSieve finish"; |
235 | 239 | } |
236 | - | |
240 | + @RequestMapping(value = "/execsieveorder", method = RequestMethod.GET) | |
241 | + @ResponseBody | |
242 | + public String sieveOrder() { | |
243 | + sieveService.correctSieveOrder(); | |
244 | + return "sieveOrder finish"; | |
245 | + } | |
237 | 246 | /** |
238 | 247 | * 更新医院的孕妇的建档的预产期 |
239 | 248 | * @param hospitalId |