package com.jwipc.finance.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.finance.entity.CostAccountStatement;
import com.jwipc.finance.entity.CostInvoicedApplyApprove;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.finance.model.po.CostInvoicedApplyApprovePO;
import com.jwipc.finance.model.query.CostIaApproveQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 对账模块-费用开票申请审批记录表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-11-05
 */
public interface CostInvoicedApplyApproveMapper extends BaseMapper<CostInvoicedApplyApprove> {

    List<CostInvoicedApplyApprovePO> selectDataByQuery(@Param("query") CostIaApproveQuery query);

    List<CostInvoicedApplyApprovePO> selectDataByQuery(Page<CostAccountStatement> dbPage,@Param("query")  CostIaApproveQuery query);
}
