@ -53,6 +53,6 @@ public interface DeptMapper extends BaseMapper<Dept> {
* @param ids
* @return
*/
List<String> getDeptNames(String[] ids);
List<String> getDeptNames(Long[] ids);
}
@ -54,7 +54,7 @@ public interface RoleMapper extends BaseMapper<Role> {
List<String> getRoleNames(String[] ids);
List<String> getRoleNames(Long[] ids);
/**
* 获取角色名
@ -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));
@ -123,7 +123,7 @@ public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements IR
public List<String> getRoleNames(String roleIds) {
return baseMapper.getRoleNames(Func.toStrArray(roleIds));
return baseMapper.getRoleNames(Func.toLongArray(roleIds));