package com.jwipc.finance.mapper;

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

import java.util.List;

/**
 * <p>
 * 对账模块-货款匹配单主表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-10-23
 */
public interface PaymentMatchingMapper extends BaseMapper<PaymentMatching> {

    List<PaymentMatchingPO> findPageByQuery(@Param("query") PaymentMatchingQuery query);

    List<PaymentMatchingPO> findPageByQuery(Page<PaymentMatching> dbPage, @Param("query") PaymentMatchingQuery query);
}
