package com.dxhy.jxpt.baseService.rzInvoice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dxhy.api.model.invoice.TDxRecordInvoice;
import com.dxhy.api.model.rz.rzInvoice.RzInvoicePageReq;
import com.dxhy.api.model.rz.rzInvoice.drrq.RzReqItem;
import com.dxhy.common.utils.R;
import org.springframework.http.ResponseEntity;

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

/**
* @Description 大企业发票入账业务
* @Return
* @Author wangruwei
* @Date 2023/9/21 16:17
**/
public interface RzInvoiceService extends IService<TDxRecordInvoice> {

    /**
     * 页面列表查询
     **/
    Object preRzInvoiceList(Map<String, Object> pramsMap, int curr, int size);
    /**
    * @Description 入账结果查询
    * @Author wangruwei
    * @Date 2023/9/21 16:48
    **/
    Object rzInvoiceResultList(Map<String, Object> pramsMap, int curr, int size);

    /**
    * @Description 入账申请
    * @Author wangruwei
    * @Date 2023/9/22 10:50
    **/
    boolean rzInvoiceReq(RzInvoicePageReq invoiceList, String userName);

    /**
     * @Description 导入入账
     * @param reqList
     * @param gfshList
     * @param userName
     * @Return java.lang.Object
     * @Author wangruwei
     * @Date 2024/6/4 19:53
     **/
    ResponseEntity<R> importRzInvoice(List<RzReqItem> reqList, List<String> gfshList, String userName);
}
