package org.dromara.payment.invoice.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.payment.bill.domain.MerBill;
import org.dromara.payment.bill.domain.vo.MerBillVo;
import org.dromara.payment.invoice.domain.MerInvoice;
import org.dromara.payment.invoice.domain.bo.MerInvoiceBo;
import org.dromara.payment.invoice.domain.vo.MerInvoiceVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 商户发票记录Mapper接口
 *
 * @author LionLi
 * @date 2024-05-06
 */
public interface MerInvoiceMapper extends BaseMapperPlus<MerInvoice, MerInvoiceVo> {
    Page<MerInvoiceVo> queryPageList(@Param("page") Page<MerInvoice> page, @Param(Constants.WRAPPER) Wrapper<MerInvoice> queryWrapper);

    List<MerInvoiceVo> queryList(@Param(Constants.WRAPPER) Wrapper<MerInvoice> queryWrapper);


    MerInvoiceVo  selectInvInfo(MerInvoiceBo bo);
}
