package com.jwipc.order.mapper;

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

import java.util.List;

/**
 * <p>
 * 预约到货法定节假日配置表 Mapper 接口
 * </p>
 *
 * @author WT
 * @since 2024-03-06
 */
public interface AppointmentDayOffMapper extends BaseMapper<AppointmentDayOff> {
    /**
     * 查询列表数据 不分页
     * @param query
     * @return
     */
    List<AppointmentDayOff> selectListByPage(@Param("query") AppointmentDayOffQuery query);

    /**
     * 查询列表数据 分页
     * @param dbPage
     * @param query
     * @return
     */
    List<AppointmentDayOff> selectListByPage(@Param("dbPage") Page<AppointmentDayOff> dbPage, @Param("query") AppointmentDayOffQuery query);
}
