From 3101e4c6883286f7171d494b09b1a7ff980a67fc Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 21 三月 2024 10:38:05 +0800 Subject: [PATCH] 考核积分取消权限 --- ycl-server/src/main/java/com/ycl/system/service/impl/SysRoleServiceImpl.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/system/service/impl/SysRoleServiceImpl.java b/ycl-server/src/main/java/com/ycl/system/service/impl/SysRoleServiceImpl.java index c0eb49a..0debc2e 100644 --- a/ycl-server/src/main/java/com/ycl/system/service/impl/SysRoleServiceImpl.java +++ b/ycl-server/src/main/java/com/ycl/system/service/impl/SysRoleServiceImpl.java @@ -418,4 +418,10 @@ } return userRoleMapper.batchUserRole(list); } + + @Override + public void exchange(Integer roleId) { + Long userId = SecurityUtils.getLoginUser().getUserId(); + userRoleMapper.exchange(roleId,userId); + } } -- Gitblit v1.8.0