From 94462d19bb33abe9654781d791ae0163a3e0e37e Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 27 一月 2026 16:29:07 +0800
Subject: [PATCH] 【丽水】微信已发送、已领取视为发送成功,不再进行补偿 改为 当前发送方式为微信的,且下一发送方式为短信的,微信发送状态为已发送、已领取的,跳过短信步骤

---
 smartor/src/main/java/com/smartor/mapper/HNGatherPatArchiveMapper.java |   24 ++++++++++++++++++++++++
 1 files changed, 24 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 064c568..db9557a 100644
--- a/smartor/src/main/java/com/smartor/mapper/HNGatherPatArchiveMapper.java
+++ b/smartor/src/main/java/com/smartor/mapper/HNGatherPatArchiveMapper.java
@@ -3,9 +3,12 @@
 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 org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
 
@@ -28,6 +31,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
@@ -36,6 +55,11 @@
     public List<PatMedInhosp> selectPatMedInhospList(PatMedInhosp patMedInhosp);
 
     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