package com.jwipc.finance.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.finance.entity.CompanyAccountStatement;
import com.jwipc.finance.entity.CompanyInvoicedApplyApprove;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.finance.entity.CostAccountStatement;
import com.jwipc.finance.model.po.CompanyInvoicedApplyApprovePO;
import com.jwipc.finance.model.po.CompanyInvoicedApplyApprovePO;
import com.jwipc.finance.model.query.CompanyIaApproveQuery;
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-18
 */
public interface CompanyInvoicedApplyApproveMapper extends BaseMapper<CompanyInvoicedApplyApprove> {

    List<CompanyInvoicedApplyApprovePO> selectDataByQuery(@Param("query") CompanyIaApproveQuery query);

    List<CompanyInvoicedApplyApprovePO> selectDataByQuery(Page<CompanyAccountStatement> dbPage, @Param("query")  CompanyIaApproveQuery query);
}