From 363592addf95355738ec801b6438a1ff2db5e05c Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期二, 16 九月 2025 13:59:00 +0800
Subject: [PATCH] HIS同步数据

---
 ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/CollectHISController.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/CollectHISController.java b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/CollectHISController.java
index a5b760f..0de0204 100644
--- a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/CollectHISController.java
+++ b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/CollectHISController.java
@@ -31,9 +31,10 @@
     @PostMapping("/collect")
     @ApiOperation("鍚屾鐥呬汉鐩稿叧鏁版嵁")
     public AjaxResult hnDataGather(@RequestBody HnDataGatherVO hnDataGatherVO) {
-        log.info("寮�濮嬫寜澶╁悓姝ョ敤鎴锋暟鎹紝鏃堕棿鑼冨洿: {} 鍒� {}", hnDataGatherVO.getStartTime(), hnDataGatherVO.getEndTime());
-        Boolean aBoolean = ichService.hnDataGather(hnDataGatherVO);
-        return AjaxResult.success(aBoolean);
+
+        //Boolean aBoolean = ichService.hnDataGather(hnDataGatherVO);
+       Integer count= ichService.sync();
+        return AjaxResult.success(count);
     }
 
     /**

--
Gitblit v1.9.3