package com.elephant.framework.galaxy.aroad.module.traffic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.elephant.framework.galaxy.aroad.module.traffic.dto.CoordinateDto;
import com.elephant.framework.galaxy.aroad.module.traffic.entity.TrafficSpot;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 观测站点表
 *
 * @author Xingyuyang
 * @date 2019-04-29 14:38:10
 */
public interface TrafficSpotMapper extends BaseMapper<TrafficSpot> {
	IPage<TrafficSpot> getTrafficSpotPage(Page<TrafficSpot> page, TrafficSpot trafficSpot);

	List<CoordinateDto> getCoordinates();

	List<TrafficSpot> getById(@Param("rowId")Integer rowId);
}
