package com.jwipc.finance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.finance.entity.PaymentPlanApprove;
import com.jwipc.finance.model.po.PaymentPlanApprovePO;
import com.jwipc.finance.model.query.PpApproveQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 对账模块-付款计划审批记录表 Mapper 接口
 * </p>
 *
 * @author 邓京术
 * @since 2025-07-22
 */
public interface PaymentPlanApproveMapper extends BaseMapper<PaymentPlanApprove> {

    List<PaymentPlanApprovePO> findPageByQuery(@Param("query") PpApproveQuery query);

    List<PaymentPlanApprovePO> findPageByQuery(Page<PaymentPlanApprove> dbPage, @Param("query") PpApproveQuery query);
}
