From 220cba3f3148bb95e9d53ab028059b72b962eebf Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 01 九月 2025 23:00:25 +0800
Subject: [PATCH] 分页处理

---
 ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/RyTask.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/RyTask.java b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/RyTask.java
index 51f383f..30ae035 100644
--- a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/RyTask.java
+++ b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/RyTask.java
@@ -14,6 +14,7 @@
 import com.ruoyi.common.utils.RSAPublicKeyExample;
 import com.ruoyi.common.utils.StringUtils;
 import com.ruoyi.common.utils.http.HttpUtils;
+import com.ruoyi.quartz.service.ICollectHISService;
 import com.smartor.common.LSHospTokenUtil;
 import com.smartor.domain.*;
 import com.smartor.mapper.HeLibraryMapper;
@@ -85,6 +86,10 @@
     @Autowired
     private HeLibraryMapper heLibraryMapper;
 
+    @Autowired
+    private ICollectHISService ichService;
+
+
     @Value("${localIP}")
     private String localIP;
 
@@ -130,6 +135,9 @@
 
     @Autowired
     IXHGatherPatArchiveService ixhGatherPatArchiveService;
+
+    @Autowired
+    ICollectHISService icollectHis;
 
 
     @Value("${appid}")
@@ -759,4 +767,16 @@
         }
         return toHex(md5.digest());
     }
+
+    public void collectHIS() {
+        try {
+            // HIS鏁版嵁閲囬泦
+            HnDataGatherVO hnDataGatherVO = new HnDataGatherVO();
+            log.info("銆恉ealHisData銆慔IS寮�濮嬮噰闆嗘暟鎹�");
+            ichService.hnDataGather(hnDataGatherVO);
+            log.info("銆恉ealHisData銆慔IS缁撴潫閲囬泦鏁版嵁");
+        } catch (Exception e) {
+            log.error("銆恉ealHisData銆慔IS鏁版嵁閲囬泦寮傚父", e);
+        }
+    }
 }

--
Gitblit v1.9.3