package com.jwipc.finance.mapper;

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

import java.util.List;

/**
 * <p>
 * 付款申请变更表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-11-25
 */
public interface PaymentChangeMapper extends BaseMapper<PaymentChange> {

    List<PaymentChangePO> findPageByQuery(@Param("query") PaymentChangeQuery query);

    List<PaymentChangePO> findPageByQuery(Page<PaymentChange> dbPage, @Param("query") PaymentChangeQuery query);
}
