package cn.freemud.order.mapper;

import cn.freemud.order.entity.OpenPlatformPartnerReportDetail;
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 OpenPlatformPartnerReportDetailDao extends Mapper<OpenPlatformPartnerReportDetail>, MySqlMapper<OpenPlatformPartnerReportDetail> {

    List<OpenPlatformPartnerReportDetail> selectPartnerReportDetails(@Param("partnerId") String partnerId,
                                                                     @Param("brandName") String brandName,
                                                                     @Param("storeName") String storeName,
                                                                     @Param("reportType") Byte reportType,
                                                                     @Param("status") Byte status,
                                                                     @Param("orderId") String orderId,
                                                                     @Param("dealNo") String dealNo,
                                                                     @Param("thirdDealNo") String thirdDealNo,
                                                                     @Param("startTime") String startTime,
                                                                     @Param("endTime") String endTime);
}