package com.jeeplus.finance.invoice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeeplus.finance.invoice.domain.CwFinanceInvoiceDetail;
import com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceDetailDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CwFinanceInvoiceDetailMapper extends BaseMapper<CwFinanceInvoiceDetail> {
    /**
     * 根据开票id修改number值
     * @param invoice
     */
    void updateNumberById(CwFinanceInvoiceDetail invoice);



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




