调解系统修改
This commit is contained in:
@@ -67,4 +67,11 @@ public interface SysUserRoleMapper
|
||||
* @param roleId
|
||||
*/
|
||||
void insertUserRole(@Param("userId")Long userId, @Param("roleId")Long roleId);
|
||||
|
||||
/**
|
||||
* 根据用户id查询关联的角色id
|
||||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
public List<Long> selectRoleIdsByUserId(@Param("userId") Long userId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user