style: 代码格式化

This commit is contained in:
郝先瑞
2023-04-23 07:44:41 +08:00
parent 7dfb621913
commit 71835c9217

View File

@@ -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)