/** * Copyright (c) 2018 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package com.zt.modules.sys.dao; import com.zt.common.dao.BaseDao; import com.zt.core.sys.model.SysUser; import com.zt.modules.sys.dto.RoleDto; import com.zt.modules.sys.dto.UserDto; import com.zt.modules.sys.model.SysRoleUser; import org.apache.ibatis.annotations.Mapper; import java.util.List; /** * 角色用户关系 * * @author hehz * @since 1.0.0 */ @Mapper public interface SysRoleUserDao extends BaseDao { List getUserRoles(Long userId); List getRoleUsers(Long roleId); List getSingleRoleUsers(Long roleId,Long userId); }