fix: selectBatchIds 已过期
This commit is contained in:
@@ -159,7 +159,7 @@ public class DeptServiceImpl implements DeptService {
|
||||
if (CollUtil.isEmpty(ids)) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return deptMapper.selectBatchIds(ids);
|
||||
return deptMapper.selectByIds(ids);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -113,7 +113,7 @@ public class PostServiceImpl implements PostService {
|
||||
if (CollUtil.isEmpty(ids)) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return postMapper.selectBatchIds(ids);
|
||||
return postMapper.selectByIds(ids);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -137,7 +137,7 @@ public class PostServiceImpl implements PostService {
|
||||
return;
|
||||
}
|
||||
// 获得岗位信息
|
||||
List<PostDO> posts = postMapper.selectBatchIds(ids);
|
||||
List<PostDO> posts = postMapper.selectByIds(ids);
|
||||
Map<Long, PostDO> postMap = convertMap(posts, PostDO::getId);
|
||||
// 校验
|
||||
ids.forEach(id -> {
|
||||
|
@@ -187,7 +187,7 @@ public class MenuServiceImpl implements MenuService {
|
||||
if (CollUtil.isEmpty(ids)) {
|
||||
return Lists.newArrayList();
|
||||
}
|
||||
return menuMapper.selectBatchIds(ids);
|
||||
return menuMapper.selectByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -200,7 +200,7 @@ public class RoleServiceImpl implements RoleService {
|
||||
if (CollectionUtil.isEmpty(ids)) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return roleMapper.selectBatchIds(ids);
|
||||
return roleMapper.selectByIds(ids);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -236,7 +236,7 @@ public class RoleServiceImpl implements RoleService {
|
||||
return;
|
||||
}
|
||||
// 获得角色信息
|
||||
List<RoleDO> roles = roleMapper.selectBatchIds(ids);
|
||||
List<RoleDO> roles = roleMapper.selectByIds(ids);
|
||||
Map<Long, RoleDO> roleMap = convertMap(roles, RoleDO::getId);
|
||||
// 校验
|
||||
ids.forEach(id -> {
|
||||
|
@@ -54,7 +54,7 @@ public class SocialUserServiceImpl implements SocialUserService {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
// 获得社交用户
|
||||
return socialUserMapper.selectBatchIds(convertSet(socialUserBinds, SocialUserBindDO::getSocialUserId));
|
||||
return socialUserMapper.selectByIds(convertSet(socialUserBinds, SocialUserBindDO::getSocialUserId));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -291,7 +291,7 @@ public class AdminUserServiceImpl implements AdminUserService {
|
||||
if (CollUtil.isEmpty(userIds)) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return userMapper.selectBatchIds(userIds);
|
||||
return userMapper.selectByIds(userIds);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -299,7 +299,7 @@ public class AdminUserServiceImpl implements AdminUserService {
|
||||
if (CollUtil.isEmpty(ids)) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return userMapper.selectBatchIds(ids);
|
||||
return userMapper.selectByIds(ids);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -308,7 +308,7 @@ public class AdminUserServiceImpl implements AdminUserService {
|
||||
return;
|
||||
}
|
||||
// 获得岗位信息
|
||||
List<AdminUserDO> users = userMapper.selectBatchIds(ids);
|
||||
List<AdminUserDO> users = userMapper.selectByIds(ids);
|
||||
Map<Long, AdminUserDO> userMap = CollectionUtils.convertMap(users, AdminUserDO::getId);
|
||||
// 校验
|
||||
ids.forEach(id -> {
|
||||
|
Reference in New Issue
Block a user