package com.jeeplus.assess.invoice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeeplus.assess.invoice.domain.FinanceInvoiceDetail;
import com.jeeplus.assess.invoice.service.dto.FinanceInvoiceDetailDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity generator.domain.FinanceInvoiceDetail
 */
@Mapper
public interface FinanceInvoiceDetailMapper extends BaseMapper<FinanceInvoiceDetail> {
    /**
     * 根据开票id修改number值
     * @param invoice
     */
    void updateNumberById(FinanceInvoiceDetail invoice);



    /**
     * 根据发票号查询开票具体信息
     * @param numberList
     * @return
     */
    List<FinanceInvoiceDetailDTO> getInvoiceDetailByNumber(@Param("list") List<String> numberList);
}




