From 038f7af67400bf0cabafabce3d80aa6d0c6af3b2 Mon Sep 17 00:00:00 2001
From: L <L@132>
Date: 星期三, 21 一月 2026 12:37:23 +0800
Subject: [PATCH] *

---
 src/main/resources/mapper/RoleMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/RoleMapper.xml b/src/main/resources/mapper/RoleMapper.xml
index 5877bcc..1403569 100644
--- a/src/main/resources/mapper/RoleMapper.xml
+++ b/src/main/resources/mapper/RoleMapper.xml
@@ -15,7 +15,7 @@
     <select id="selectRoleList" resultMap="BaseResultMap">
         SELECT * FROM "SOURCE"."sys_role"
         WHERE 1=1
-        <if test="leaderIdList != null and leaderIdList != ''">
+        <if test="leaderIdList != null">
             and ID not in
             <foreach collection="leaderIdList" item="item" index="index" separator="," open="(" close=")">
                 #{item}
@@ -28,7 +28,7 @@
     <select id="selectRoleListTotal" resultType="Long">
         SELECT count(1) FROM "SOURCE"."sys_role"
         WHERE 1=1
-        <if test="leaderIdList != null and leaderIdList != ''">
+        <if test="leaderIdList != null">
             and ID not in
             <foreach collection="leaderIdList" item="item" index="index" separator="," open="(" close=")">
                 #{item}

--
Gitblit v1.9.1