package com.jwipc.finance.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.finance.entity.PaymentPlan;
import com.jwipc.finance.model.po.PaymentPlanPO;
import com.jwipc.finance.model.query.PaymentPlanQuery;

import java.util.List;

/**
 * <p>
 * 对账模块-付款计划主表 服务类
 * </p>
 *
 * @author 邓京术
 * @since 2025-07-14
 */
public interface IPaymentPlanService extends IService<PaymentPlan> {

    List<PaymentPlanPO> findPageByQuery(Page<PaymentPlan> dbPage, PaymentPlanQuery query);

    PaymentPlanPO selectPoById(Long id);

    void addNewPaymentPlan(String paymentPlanYear,String paymentPlanMonth) throws Exception;

}
