From 73db0a377b2cd49d4e5e877530c6e9df4ee156f3 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 07 二月 2024 21:06:49 +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