From d722c501d795a1c548843d663a128ac1324d5c1b Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期三, 07 八月 2024 15:13:45 +0800
Subject: [PATCH] 初始化代码优化

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

diff --git a/pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml
index 7fd878d..3783013 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/BaPrivilegeMapper.xml
@@ -46,8 +46,8 @@
     </if>
   </select>
 
-  <select id="selectPrivilegeByRoleId" resultType="Integer">
-    select p.num
+  <select id="selectPrivilegeByRoleId" resultType="Long">
+    select p.id
     from ba_privilege p
     inner join ba_role_privilege rp on p.id = rp.privilege_id
     <if test="roleId != null">

--
Gitblit v1.8.0