package com.jwipc.finance.mapper;

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

import java.util.List;

/**
 * <p>
 * 开票申请附件关系表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-10-16
 */
public interface InvoicedApplyAttachmentMapper extends BaseMapper<InvoicedApplyAttachment> {

    List<InvoicedApplyAttachmentPO> findPageByQuery(@Param("query")InvoicedApplyAttachmentQuery query);

    List<InvoicedApplyAttachmentPO> findPageByQuery(Page<InvoicedApplyAttachment> dbPage, @Param("query") InvoicedApplyAttachmentQuery query);
}
