package cn.freemud.order.mapper;

import cn.freemud.order.entity.OpenPlatformPartner;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

@Repository
public interface OpenPlatformPartnerDao extends Mapper<OpenPlatformPartner>, MySqlMapper<OpenPlatformPartner> {

    List<OpenPlatformPartner> selectOpenPlatformPartnerList(@Param("partnerIdList") List partnerIdList);

    List<OpenPlatformPartner> selectOpenPlatformPartner(@Param("partnerId") String partnerId);
}