From 47a53d22a025c0ed095c9c4ed2e1ce35ce54184e Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 30 十月 2024 14:16:16 +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..1554fc5 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