/**
* Copyright 2018 人人开源 https://www.renren.io
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package com.epmet.dao;
import com.epmet.commons.mybatis.dao.BaseDao;
import com.epmet.dto.UserInvitationDTO;
import com.epmet.entity.UserInvitationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 人员邀请关系表 记录user之间的邀请关系
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2020-03-30
*/
@Mapper
public interface UserInvitationDao extends BaseDao {
/**
* @param inviteeUserId 被邀请人id
* @param inviteSourceId 邀请链接id
* @param inviteSource 邀请场景
* @return com.epmet.dto.UserInvitationDTO
* @Author yinzuomei
* @Description 根据被邀请人id、邀请链接id、邀请场景查询人员邀请记录
* @Date 2020/4/10 0:36
**/
List selectUserInvitation(@Param("inviteeUserId") String inviteeUserId,
@Param("inviteSourceId") String inviteSourceId,
@Param("inviteSource") String inviteSource);
}