From 1be48553ad7b1994ed6f7d0d868f0ef7ba8a67af Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期二, 26 八月 2025 16:55:59 +0800 Subject: [PATCH] 修复患者首页严重BUG,HIS视图同步 --- ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/RyTask.java | 17 +++++++++++++++++ 1 files changed, 17 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..938a6c2 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,8 @@ import com.ruoyi.common.utils.RSAPublicKeyExample; import com.ruoyi.common.utils.StringUtils; import com.ruoyi.common.utils.http.HttpUtils; +import com.ruoyi.quartz.service.ICollectHISMapperService; +import com.ruoyi.quartz.service.impl.CollectHISMapperServiceImpl; import com.smartor.common.LSHospTokenUtil; import com.smartor.domain.*; import com.smartor.mapper.HeLibraryMapper; @@ -130,6 +132,9 @@ @Autowired IXHGatherPatArchiveService ixhGatherPatArchiveService; + + @Autowired + ICollectHISMapperService icollectHis; @Value("${appid}") @@ -759,4 +764,16 @@ } return toHex(md5.digest()); } + + public void collectHIS() { + try { + // HIS鏁版嵁閲囬泦 + HnDataGatherVO hnDataGatherVO = new HnDataGatherVO(); + log.info("銆恉ealHisData銆慔IS寮�濮嬮噰闆嗘暟鎹�"); + ihnGatherPatArchiveService.hnDataGather(hnDataGatherVO); + log.info("銆恉ealHisData銆慔IS缁撴潫閲囬泦鏁版嵁"); + } catch (Exception e) { + log.error("銆恉ealHisData銆慔IS鏁版嵁閲囬泦寮傚父", e); + } + } } -- Gitblit v1.9.3