package com.jwipc.order.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.order.entity.AppointmentDocker;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.order.model.query.AppointmentDockerQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 预约工厂码头配置表 Mapper 接口
 * </p>
 *
 * @author WT
 * @since 2024-03-05
 */
public interface AppointmentDockerMapper extends BaseMapper<AppointmentDocker> {
    /**
     * 查询工厂码头数据 不分页
     * @param query
     * @return
     */
    List<AppointmentDocker> queryByPage(@Param("query") AppointmentDockerQuery query);

    /**
     * 查询工厂码头数据 分页
     * @param dbPage
     * @param query
     * @return
     */
    List<AppointmentDocker> queryByPage(@Param("dbPage") Page<AppointmentDocker> dbPage, @Param("query") AppointmentDockerQuery query);
}
