package com.jwipc.finance.mapper;

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

import java.util.List;

/**
 * <p>
 * 对账模块-报关单主表 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2025-10-22
 */
public interface CustomsDeclarationMapper extends BaseMapper<CustomsDeclaration> {

    List<CustomsDeclarationPO> findPageByQuery(@Param("query") CustomsDeclarationQuery query);

    List<CustomsDeclarationPO> findPageByQuery(Page<CustomsDeclaration> dbPage, @Param("query") CustomsDeclarationQuery query);
}
