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.PaymentPlanSummary;
import com.jwipc.finance.model.po.PaymentPlanSummaryPO;
import com.jwipc.finance.model.query.PaymentPlanQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 对账模块-付款计划汇总 Mapper 接口
 * </p>
 *
 * @author 邓京术
 * @since 2025-09-01
 */
public interface PaymentPlanSummaryMapper extends BaseMapper<PaymentPlanSummary> {

    List<PaymentPlanSummaryPO> findPageByQuery(@Param("query") PaymentPlanQuery paymentPlanQuery);

    List<PaymentPlanSummaryPO> findPageByQuery(Page<PaymentPlanSummary> toPage, @Param("query") PaymentPlanQuery paymentPlanQuery);

    List<PaymentPlanSummaryPO> findPageByQueryD(@Param("query") PaymentPlanQuery paymentPlanQuery);

    List<PaymentPlanSummaryPO> findPageByQueryD(Page<PaymentPlanSummary> toPage, @Param("query") PaymentPlanQuery paymentPlanQuery);

}
