From b35a46c502f4bcc22c75e9e3c7fd29af5b98d84b Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 05 三月 2025 16:06:54 +0800
Subject: [PATCH] 代码初始化

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

diff --git a/server/system_service/src/main/resources/mappers/SystemUserMapper.xml b/server/system_service/src/main/resources/mappers/SystemUserMapper.xml
index 1554fc5..1907ebc 100644
--- a/server/system_service/src/main/resources/mappers/SystemUserMapper.xml
+++ b/server/system_service/src/main/resources/mappers/SystemUserMapper.xml
@@ -67,7 +67,10 @@
         AND  usr.`status` = #{dto.status}
       </if>
       <if test="dto.memberType != null ">
-        AND  m.`type` = #{dto.memberType}
+        AND  usr.`type` = #{dto.memberType}
+      </if>
+      <if test="dto.workStatus != null ">
+        AND  m.WORK_STATUS = #{dto.workStatus}
       </if>
       <if test="dto.companyId != null ">
         AND  usr.COMPANY_ID  = #{dto.companyId}
@@ -75,8 +78,8 @@
       <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 test="dto.querySpecial != null and dto.querySpecial == 1 ">
+            AND find_in_set(#{dto.companySpecialId},REPLACE(sd.company_path,'/',','))
       </if>
     </where>
     ${orderByClause}

--
Gitblit v1.9.3