package com.clx.performance.mapper.vehiclewarn;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clx.performance.model.vehiclewarn.VehicleWarnConfig;
import com.clx.performance.param.pc.vehiclewarn.PageVehicleWarnConfigParam;
import com.clx.performance.sqlProvider.vehiclewarn.VehicleWarnConfigSqlProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;

@Mapper
public interface VehicleWarnConfigMapper extends BaseMapper<VehicleWarnConfig> {
    String TABLE = "vehicle_warn_config";

    /**
     * @see VehicleWarnConfigSqlProvider#pageByParam(Page, PageVehicleWarnConfigParam)
     */
    @SelectProvider(type = VehicleWarnConfigSqlProvider.class, method = "pageByParam")
    IPage<VehicleWarnConfig> pageByParam(@Param("page") Page page, @Param("param") PageVehicleWarnConfigParam param);
}