package com.tashow.cloud.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tashow.cloud.app.model.BuriedPoint;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BuriedPointMapper extends BaseMapper<BuriedPoint> {

    @Select("SELECT * FROM app_burying WHERE event_id = #{eventId} LIMIT 1")
    BuriedPoint selectByEventId(@Param("eventId") Integer eventId);
}