From 298c6662a41395c7c19adf85d19a0d274b926c46 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 31 十月 2024 13:57:31 +0800
Subject: [PATCH] 代码初始化

---
 server/system_service/src/main/resources/mappers/SystemUserMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/server/system_service/src/main/resources/mappers/SystemUserMapper.xml b/server/system_service/src/main/resources/mappers/SystemUserMapper.xml
index 16a7154..9bc91f7 100644
--- a/server/system_service/src/main/resources/mappers/SystemUserMapper.xml
+++ b/server/system_service/src/main/resources/mappers/SystemUserMapper.xml
@@ -75,6 +75,9 @@
       <if test="dto.companyType != null ">
         AND  sd.`type` = #{dto.companyType}
       </if>
+      <if test="dto.querySpecial != null and dto.querySpecial == 1 ">
+            AND find_in_set(#{dto.companySpecialId},REPLACE(sd.company_path,'/',','))
+      </if>
     </where>
     ${orderByClause}
   </select>

--
Gitblit v1.9.3