From f33cfe86447c16df8ca665e2e1a5f3333ff57792 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期三, 27 八月 2025 17:02:27 +0800
Subject: [PATCH] 版本改造

---
 expert-system/src/main/resources/mapper/system/SysExpertInfoMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/expert-system/src/main/resources/mapper/system/SysExpertInfoMapper.xml b/expert-system/src/main/resources/mapper/system/SysExpertInfoMapper.xml
index 00a1709..8ded090 100644
--- a/expert-system/src/main/resources/mapper/system/SysExpertInfoMapper.xml
+++ b/expert-system/src/main/resources/mapper/system/SysExpertInfoMapper.xml
@@ -148,7 +148,7 @@
 
     <select id="getExpertRound" parameterType="com.gkhy.system.domain.vo.request.SysExpertInfoRoundReq"
             resultType="com.gkhy.system.domain.vo.response.ProjectExpertSectionResp">
-        select id,name,sex,id_card idCard,
+        select id ,name,sex,id_card idCard,
             domain,rating_level ratingLevel from sys_expert_info
         where del_flag = 0
             <if test="deptId != null "> and dept_id = #{deptId}</if>
@@ -164,6 +164,10 @@
             #{item}
         </foreach>
         </if>
+        <!--去除掉组长-->
+        <if test="selectedUserId != null">
+            and id != #{selectedUserId}
+        </if>
         ORDER BY RAND()
             LIMIT #{num}
     </select>

--
Gitblit v1.9.2