From 16e8c7adbee6c9ee9bac09a80d44d3bfd3fe2f0c Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 19 五月 2025 09:45:38 +0800
Subject: [PATCH] Merge branch '2.0.2' into 2.0.1

---
 server/service/src/main/resources/mappers/SystemPermissionMapper.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/server/service/src/main/resources/mappers/SystemPermissionMapper.xml b/server/service/src/main/resources/mappers/SystemPermissionMapper.xml
index 5fe7f06..d584db7 100644
--- a/server/service/src/main/resources/mappers/SystemPermissionMapper.xml
+++ b/server/service/src/main/resources/mappers/SystemPermissionMapper.xml
@@ -30,6 +30,15 @@
       <if test="dto.type != null">
         AND ifnull(perm.type,0) in(0, ${dto.type})
       </if>
+      <if test="dto.iscom != null">
+        AND ifnull(perm.iscom,0) =${dto.iscom}
+      </if>
+      <if test="dto.isshop != null">
+        AND ifnull(perm.isshop,0)=${dto.isshop}
+      </if>
+      <if test="dto.isadmin != null">
+        AND ifnull(perm.isadmin,0) = ${dto.isadmin}
+      </if>
       <if test="dto.name != null  and dto.name!=''">
         AND perm.`NAME` LIKE CONCAT('%', #{dto.name}, '%')
       </if>

--
Gitblit v1.9.3