package com.jwipc.finance.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.finance.entity.PaymentAdvanceApplyAttachment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.finance.model.po.PaymentAdvanceApplyAttachmentPO;
import com.jwipc.finance.model.query.AccountStatementAttachmentQuery;
import com.jwipc.finance.model.query.PaymentAdvanceApplyAttachmentQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 预付款附件关系表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-10-21
 */
public interface PaymentAdvanceApplyAttachmentMapper extends BaseMapper<PaymentAdvanceApplyAttachment> {

    List<PaymentAdvanceApplyAttachmentPO> findPageByQuery(@Param("query") PaymentAdvanceApplyAttachmentQuery query);

    List<PaymentAdvanceApplyAttachmentPO> findPageByQuery(Page<PaymentAdvanceApplyAttachment> dbPage, @Param("query") PaymentAdvanceApplyAttachmentQuery query);
}
