mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-07 23:57:20 +08:00
修复删除角色bug
This commit is contained in:
@@ -209,7 +209,7 @@ public class SystemAuthRoleServiceImpl implements ISystemAuthRoleService {
|
||||
"角色已不存在!");
|
||||
|
||||
Assert.isNull(systemAuthAdminMapper.selectOne(new QueryWrapper<SystemAuthAdmin>()
|
||||
.select("id", "role", "nickname")
|
||||
.select("id", "role_ids", "nickname")
|
||||
.apply("find_in_set({0}, role_ids)", id)
|
||||
.eq("is_delete", 0)),
|
||||
"角色已被管理员使用,请先移除");
|
||||
|
||||
Reference in New Issue
Block a user