package com.fdkankan.platform.order.mapper;

import com.fdkankan.platform.order.entity.Invoice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fdkankan.platform.user.request.RequestTrade;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 发票表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-12-24
 */
@Mapper
public interface IInvoiceMapper extends BaseMapper<Invoice> {

    List<Invoice> getListByParam(@Param("param") RequestTrade param,@Param("start")Integer start,@Param("pageSize") Integer pageSize,@Param("orderBy") String orderBy);

    Integer getCountByParam(@Param("param")RequestTrade param);
}
