package com.jwipc.finance.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.finance.entity.CompanyAccountStatementApprove;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.finance.entity.CompanyAccountStatementApprove;
import com.jwipc.finance.model.query.AsApproveQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 对账模块-公司间销售对账单审批记录表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-11-18
 */
public interface CompanyAccountStatementApproveMapper extends BaseMapper<CompanyAccountStatementApprove> {
    List<CompanyAccountStatementApprove> findPageByQuery(@Param("query") AsApproveQuery query);

    List<CompanyAccountStatementApprove> findPageByQuery(Page<CompanyAccountStatementApprove> dbPage, @Param("query") AsApproveQuery query);
}
