package com.fdkankan.manage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fdkankan.common.response.ResultData;
import com.fdkankan.manage.entity.Invoice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fdkankan.manage.vo.InvoicePageParamVO;
import com.fdkankan.manage.vo.InvoiceVO;
import java.io.IOException;
import java.util.List;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 发票表 服务类
 * </p>
 *
 * @author 
 * @since 2022-05-31
 */
public interface IInvoiceService extends IService<Invoice> {

    Page<InvoiceVO> pageInvoice(InvoicePageParamVO param);

    ResultData invoiceRegister(Long userId, Long id, String invoiceNum,
        String shipNum,MultipartFile file) throws IOException;

    ResultData getInvoiceRegisterDetail(@RequestParam("id") Long id);

}
