style: 代码格式化
This commit is contained in:
@@ -57,7 +57,7 @@ public class SysUserRoleServiceImpl extends ServiceImpl<SysUserRoleMapper, SysUs
|
|||||||
.filter(roleId -> !roleIds.contains(roleId))
|
.filter(roleId -> !roleIds.contains(roleId))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
|
||||||
if(CollectionUtil.isNotEmpty(removeRoleIds)){
|
if (CollectionUtil.isNotEmpty(removeRoleIds)) {
|
||||||
this.remove(new LambdaQueryWrapper<SysUserRole>()
|
this.remove(new LambdaQueryWrapper<SysUserRole>()
|
||||||
.eq(SysUserRole::getUserId, userId)
|
.eq(SysUserRole::getUserId, userId)
|
||||||
.in(SysUserRole::getRoleId, removeRoleIds)
|
.in(SysUserRole::getRoleId, removeRoleIds)
|
||||||
|
|||||||
Reference in New Issue
Block a user