package com.jkcredit.invoice.service.nocar;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jkcredit.invoice.model.entity.invoice.BillInvoice;
import com.jkcredit.invoice.model.entity.waybill.NoCarWayBill;
import com.jkcredit.invoice.util.RespR;

import java.util.List;
import java.util.Map;

/**
 * 无车发票服务
 */
public interface NocarInvoiceService {
    /**
     * 查询所有发票接口
     * @param page
     * @param billInvoice
     * @return
     */
    IPage<List<BillInvoice>> findByPageAndInvoice(Page page, BillInvoice billInvoice);

    Map<String,String> findInvoiceStatics(BillInvoice billInvoice);



    /**
     * 批量查询所有发票接口
     * @param billInvoices
     * @return
     */
    RespR findImportNocarInvoices(List<BillInvoice> billInvoices);
}
