update 调整 角色查询部门 返回值类型

This commit is contained in:
疯狂的狮子li
2021-12-03 10:45:04 +08:00
parent b00c6dd89b
commit c5dc08e082
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ public interface ISysDeptService extends IService<SysDept> {
* @param roleId 角色ID
* @return 选中部门列表
*/
List<Integer> selectDeptListByRoleId(Long roleId);
List<Long> selectDeptListByRoleId(Long roleId);
/**
* 根据部门ID查询信息

View File

@ -73,7 +73,7 @@ public class SysDeptServiceImpl extends ServicePlusImpl<SysDeptMapper, SysDept,
* @return 选中部门列表
*/
@Override
public List<Integer> selectDeptListByRoleId(Long roleId) {
public List<Long> selectDeptListByRoleId(Long roleId) {
SysRole role = roleMapper.selectById(roleId);
return baseMapper.selectDeptListByRoleId(roleId, role.isDeptCheckStrictly());
}