package cn.com.ctop.common.module.mapper;

import cn.com.ctop.common.module.entity.OauthAgentToken;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 代理商token
 *
 * @author: jeecg-boot
 * @date: 2020-08-18
 * @cersion: V1.0
 */
public interface OauthAgentTokenMapper extends BaseMapper<OauthAgentToken> {

    List<OauthAgentToken> getLiveKuaiShouAgentList(@Param("mediaId") Integer mediaId);

    int updateLiveById(OauthAgentToken updateAgentToken);
}
