From 31f3dcc7c566174cbdec4f41a9a96e58a1be9a4e Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期二, 17 十二月 2024 16:20:12 +0800 Subject: [PATCH] 统计2.0+首页2.0+检验下单型号过滤修改 --- 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