From 0bbbd746e8c39d91ad7b47a4e36e29ab972dc98c Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 20 十月 2026 16:56:54 +0800
Subject: [PATCH] 处理长期任务发送问题

---
 smartor/src/main/java/com/smartor/mapper/HNGatherPatArchiveMapper.java |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/java/com/smartor/mapper/HNGatherPatArchiveMapper.java b/smartor/src/main/java/com/smartor/mapper/HNGatherPatArchiveMapper.java
index 171fa9f..76b2bd9 100644
--- a/smartor/src/main/java/com/smartor/mapper/HNGatherPatArchiveMapper.java
+++ b/smartor/src/main/java/com/smartor/mapper/HNGatherPatArchiveMapper.java
@@ -3,11 +3,17 @@
 import com.ruoyi.common.annotation.DataSource;
 import com.ruoyi.common.core.domain.entity.SysDept;
 import com.ruoyi.common.core.domain.entity.SysUser;
+import com.ruoyi.common.core.domain.entity.SysUserDept;
+import com.ruoyi.common.core.domain.entity.SysUserRole;
 import com.ruoyi.common.enums.DataSourceType;
 import com.smartor.domain.*;
+import com.ruoyi.outpatientvisit.domain.PatMedOuthosp;
+import com.ruoyi.inhospvisit.domain.PatMedInhosp;
 import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
+import com.ruoyi.common.core.domain.entity.PatArchive;
 
 /**
  * 娌冲崡閲囬泦鎮h�呬俊鎭疢apper鎺ュ彛
@@ -28,6 +34,22 @@
     public List<PatArchive> selectPatArchiveList(PatArchive patArchive);
 
     /**
+     * 鐢ㄦ埛涓庤鑹蹭俊鎭�
+     *
+     * @param sysUser
+     * @return
+     */
+    public SysUserRole yhyjsxx(SysUser sysUser);
+
+    /**
+     * 鐢ㄦ埛涓庣瀹や俊鎭�
+     *
+     * @param sysUser
+     * @return
+     */
+    public SysUserDept yhyksxx(SysUser sysUser);
+
+    /**
      * 鍑哄叆闄俊鎭�
      *
      * @param patMedInhosp
@@ -37,6 +59,12 @@
 
     public Long selectPatMedInhospListCount(PatMedInhosp patMedInhosp);
 
+    List<PatArchive> selectPatArchiveListByLastId(@Param("lastRowNumber") long lastRowNumber, @Param("ps") int ps);
+
+    List<PatMedInhosp> selectPatMedInhospListByLastId(@Param("lastRowNumber") long lastRowNumber, @Param("ps") int ps);
+
+    public Long selectPatArchiveCount(PatMedInhosp patMedInhosp);
+
     /**
      * 闂ㄦ�ヨ瘖淇℃伅
      *

--
Gitblit v1.9.3