From e9293e07cd386b1cdca525f7c80683f146caa96d Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 06 二月 2024 00:40:09 +0800
Subject: [PATCH] #
---
zy-asrs-wcs/src/main/resources/mapper/sys/UserRoleMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/zy-asrs-wcs/src/main/resources/mapper/sys/UserRoleMapper.xml b/zy-asrs-wcs/src/main/resources/mapper/sys/UserRoleMapper.xml
index a349b5e..69375fc 100644
--- a/zy-asrs-wcs/src/main/resources/mapper/sys/UserRoleMapper.xml
+++ b/zy-asrs-wcs/src/main/resources/mapper/sys/UserRoleMapper.xml
@@ -6,7 +6,7 @@
select *
from sys_role
where 1=1
- and role_id in (
+ and id in (
select role_id
from sys_user_role
where user_id = #{userId}
--
Gitblit v1.9.1