Browse Source

🐛 修复PostgreSQL用户列表bug

test
smallchill 5 years ago
parent
commit
386d7d96ff
  1. 2
      blade-service/blade-system/src/main/java/org/springblade/system/mapper/DeptMapper.java
  2. 2
      blade-service/blade-system/src/main/java/org/springblade/system/mapper/RoleMapper.java
  3. 2
      blade-service/blade-system/src/main/java/org/springblade/system/service/impl/DeptServiceImpl.java
  4. 2
      blade-service/blade-system/src/main/java/org/springblade/system/service/impl/RoleServiceImpl.java

2
blade-service/blade-system/src/main/java/org/springblade/system/mapper/DeptMapper.java

@ -53,6 +53,6 @@ public interface DeptMapper extends BaseMapper<Dept> {
* @param ids
* @return
*/
List<String> getDeptNames(String[] ids);
List<String> getDeptNames(Long[] ids);
}

2
blade-service/blade-system/src/main/java/org/springblade/system/mapper/RoleMapper.java

@ -54,7 +54,7 @@ public interface RoleMapper extends BaseMapper<Role> {
* @param ids
* @return
*/
List<String> getRoleNames(String[] ids);
List<String> getRoleNames(Long[] ids);
/**
* 获取角色名

2
blade-service/blade-system/src/main/java/org/springblade/system/service/impl/DeptServiceImpl.java

@ -52,7 +52,7 @@ public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept> implements ID
@Override
public List<String> getDeptNames(String deptIds) {
return baseMapper.getDeptNames(Func.toStrArray(deptIds));
return baseMapper.getDeptNames(Func.toLongArray(deptIds));
}
@Override

2
blade-service/blade-system/src/main/java/org/springblade/system/service/impl/RoleServiceImpl.java

@ -123,7 +123,7 @@ public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements IR
@Override
public List<String> getRoleNames(String roleIds) {
return baseMapper.getRoleNames(Func.toStrArray(roleIds));
return baseMapper.getRoleNames(Func.toLongArray(roleIds));
}
@Override

Loading…
Cancel
Save