陈昶聿
昨天 b1e21a107469d2759845f800c037d741c0554f07
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("同步任务已启动,请稍后查看结果");
    }