package com.jwipc.finance.mapper;

import com.jwipc.finance.entity.CostInvoicedApplyDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.finance.entity.InvoicedApplyDetail;
import com.jwipc.finance.model.po.CreatePcaDetailPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 对账模块-费用开票申请明细 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-11-06
 */
public interface CostInvoicedApplyDetailMapper extends BaseMapper<CostInvoicedApplyDetail> {

    /**
     * 根据开票申请ID获取开票申请明细
     *
     * @param iaIdList 开票申请单ID集合
     * @return 结果
     */
    List<CostInvoicedApplyDetail> findByInvoiceApplyId(@Param("iaIdList") List<Long> iaIdList);

    List<CreatePcaDetailPO> queryCodApplyInvoiceById(@Param("id") Long id);
}
