package com.jwipc.finance.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.finance.entity.AccountStatement;
import com.jwipc.finance.entity.InvoicedApplyApprove;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.finance.model.po.InvoicedApplyApprovePO;
import com.jwipc.finance.model.query.IaApproveQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 对账模块-开票申请审批记录表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-03-04
 */
public interface InvoicedApplyApproveMapper extends BaseMapper<InvoicedApplyApprove> {

    List<InvoicedApplyApprovePO> selectDataByQuery(@Param("query") IaApproveQuery query);

    List<InvoicedApplyApprovePO> selectDataByQuery(Page<AccountStatement> dbPage, @Param("query") IaApproveQuery query);
}
