style(SysUserServiceImpl.java): 代码格式化

This commit is contained in:
郝先瑞 2022-06-26 23:51:55 +08:00
parent 4f9316e865
commit 4681efbb3f

View File

@ -189,7 +189,8 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
public boolean deleteUsers(String idsStr) {
Assert.isTrue(StrUtil.isNotBlank(idsStr), "删除的用户数据为空");
// 逻辑删除
List<Long> ids = Arrays.asList(idsStr.split(",")).stream().map(idStr -> Long.parseLong(idStr)).collect(Collectors.toList());
List<Long> ids = Arrays.asList(idsStr.split(",")).stream()
.map(idStr -> Long.parseLong(idStr)).collect(Collectors.toList());
boolean result = this.removeByIds(ids);
return result;