From 904cfe3bad14c27857a062849fc92dd85035c524 Mon Sep 17 00:00:00 2001
From: liujie <liujie>
Date: 星期二, 31 十月 2023 14:09:56 +0800
Subject: [PATCH] 修改bug

---
 cloud-server-management/src/main/resources/mapper/RoleMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/cloud-server-management/src/main/resources/mapper/RoleMapper.xml b/cloud-server-management/src/main/resources/mapper/RoleMapper.xml
index 1f859cb..36432b2 100644
--- a/cloud-server-management/src/main/resources/mapper/RoleMapper.xml
+++ b/cloud-server-management/src/main/resources/mapper/RoleMapper.xml
@@ -26,6 +26,9 @@
 		<if test="objectType == 3">
 			and rr.objType =3  and rr.objId =#{objectId}
 		</if>
+		<if test="objectType == 1">
+			and rr.objType =1
+		</if>
 	</select>
 
 	<delete id="deleteRolesById">

--
Gitblit v1.7.1