角色列表返回类型保持一致
This commit is contained in:
		| @@ -39,7 +39,7 @@ public interface SysRoleMapper | ||||
|      * @param userId 用户ID | ||||
|      * @return 选中角色ID列表 | ||||
|      */ | ||||
|     public List<Integer> selectRoleListByUserId(Long userId); | ||||
|     public List<Long> selectRoleListByUserId(Long userId); | ||||
|  | ||||
|     /** | ||||
|      * 通过角色ID查询角色 | ||||
|   | ||||
| @@ -49,7 +49,7 @@ public interface ISysRoleService | ||||
|      * @param userId 用户ID | ||||
|      * @return 选中角色ID列表 | ||||
|      */ | ||||
|     public List<Integer> selectRoleListByUserId(Long userId); | ||||
|     public List<Long> selectRoleListByUserId(Long userId); | ||||
|  | ||||
|     /** | ||||
|      * 通过角色ID查询角色 | ||||
|   | ||||
| @@ -122,7 +122,7 @@ public class SysRoleServiceImpl implements ISysRoleService | ||||
|      * @return 选中角色ID列表 | ||||
|      */ | ||||
|     @Override | ||||
|     public List<Integer> selectRoleListByUserId(Long userId) | ||||
|     public List<Long> selectRoleListByUserId(Long userId) | ||||
|     { | ||||
|         return roleMapper.selectRoleListByUserId(userId); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user