From f8644e0a13befc0e28e569926a7f9f024cf1e17d Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期三, 31 七月 2024 17:57:48 +0800 Subject: [PATCH] 不合格管理 添加权限 --- user-server/src/main/resources/mapper/RoleMapper.xml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/user-server/src/main/resources/mapper/RoleMapper.xml b/user-server/src/main/resources/mapper/RoleMapper.xml index e5b1926..c61419f 100644 --- a/user-server/src/main/resources/mapper/RoleMapper.xml +++ b/user-server/src/main/resources/mapper/RoleMapper.xml @@ -7,4 +7,9 @@ <select id="selectMenuList" resultType="com.yuanchu.mom.pojo.Menu"> select method,remark,type from menu </select> + <select id="getRoleByDepart" resultType="java.lang.Integer"> + select r.id from department d + left join role r on r.category = d.id + where d.id = #{departId} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3