package com.jwipc.finance.mapper;

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

import java.util.List;

/**
 * <p>
 * 对账单附件关系表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-10-16
 */
public interface AccountStatementAttachmentMapper extends BaseMapper<AccountStatementAttachment> {

    List<AccountStatementAttachmentPO> findPageByQuery(@Param("query") AccountStatementAttachmentQuery query);

    List<AccountStatementAttachmentPO> findPageByQuery(Page<AccountStatementAttachment> dbPage, @Param("query") AccountStatementAttachmentQuery query);
}
