陈昶聿
12 小时以前 2943d0bb77c843bcf19645a366f98b8592efece9
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/ServiceSubtaskController.java
@@ -994,9 +994,7 @@
    @PostMapping("/syncMedOperForShiyi")
    public AjaxResult syncMedOperForShiyi(@RequestParam("startTime") String startTime, @RequestParam("endTime") String endTime) {
        // 立即返回,后台异步执行
        CompletableFuture.runAsync(() -> {
            collectHISService.syncOper(startTime, endTime);
        });
        collectHISService.syncOper(startTime, endTime);
        return AjaxResult.success("同步任务已启动,请稍后查看结果");
    }