package cn.reghao.tnb.content.app.geo.db.mapper;

import cn.reghao.jutil.jdk.web.db.BaseMapper;
import cn.reghao.tnb.content.app.geo.model.po.GeoPoint;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author reghao
 * @date 2024-09-10 17:37:19
 */
@Mapper
public interface GeoPointMapper extends BaseMapper<GeoPoint> {
    void deleteByPositionType(@Param("createBy") long createBy, @Param("pointType") int pointType);
    void updateUserPosition(GeoPoint geoPoint);

    List<GeoPoint> findByPositionType(@Param("createBy") long createBy, @Param("pointType") int pointType);
}
