package com.jwipc.finance.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.finance.entity.PaymentReceipt;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.finance.model.query.PaymentReceiptQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 付款申请回执单 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-12-05
 */
public interface PaymentReceiptMapper extends BaseMapper<PaymentReceipt> {

    List<PaymentReceipt> findPageByQuery(@Param("query") PaymentReceiptQuery query);

    List<PaymentReceipt> findPageByQuery(Page<PaymentReceipt> dbPage, @Param("query") PaymentReceiptQuery query);
}
