From 10d6587ec3f5c4779f40bcc1afe54d441db68711 Mon Sep 17 00:00:00 2001
From: lxp <1928192722@qq.com>
Date: 星期三, 12 三月 2025 15:35:30 +0800
Subject: [PATCH] 报告编制修改

---
 ruoyi-system/src/main/resources/mapper/system/UserMapper.xml |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/UserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/UserMapper.xml
index f05881a..3eb9d91 100644
--- a/ruoyi-system/src/main/resources/mapper/system/UserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/UserMapper.xml
@@ -63,4 +63,28 @@
     <select id="selectUserInfo" resultType="com.ruoyi.common.core.vo.SysUserVO">
         select * from user
     </select>
+    <select id="seldepLimsId" resultType="java.lang.String">
+        select name
+        from department_lims
+        where id = #{depLimsId}
+    </select>
+    <select id="getPersonList" resultType="java.util.Map">
+        select
+        u.id,
+        u.name,
+        dl.name as depName
+        from
+        user u
+        left join
+        department_lims dl
+        on
+        FIND_IN_SET(dl.id,u.depart_lims_id)
+        where
+        dl.name in('閫氫俊浜у搧瀹為獙瀹�','鐢靛姏浜у搧瀹為獙瀹�','妫�娴嬪姙')
+        and u.status = 1
+        and u.is_custom = 0
+        <if test="laboratory!='' and laboratory!=null">
+            and (dl.name = #{laboratory} or dl.name='妫�娴嬪姙')
+        </if>
+    </select>
 </mapper>

--
Gitblit v1.9.3