提交 9c84ef3d 编写于 作者: F fengyw

增加登录日志列出功能

上级 4879ab33
......@@ -55,6 +55,7 @@ public class AdminLogLoginBiz extends BaseBiz {
List<Long> userIdList = respPage.getList().stream().map(AdminLogLoginPageResp::getUserId).collect(Collectors.toList());
Map<Long, String> mobileMap = usersDao.listByIds(userIdList).stream().collect(Collectors.toMap(item -> item.getId(), item -> item.getMobile()));
for (AdminLogLoginPageResp resp : respPage.getList()) {
// 手机号
resp.setMoblie(DesensitizedUtil.mobilePhone(mobileMap.get(resp.getUserId())));
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册