package com.cdzy.operations.mapper; import com.mybatisflex.core.BaseMapper; import com.cdzy.operations.model.entity.EbikeRegion; import org.postgresql.geometric.PGpoint; import java.util.List; /** * 运营区域表 映射层。 * * @author attiya * @since 2025-10-22 */ public interface EbikeRegionMapper extends BaseMapper { /** * 检查车辆是否在运营区内 * @param bikeCode 车辆编号 * @return 结果 */ boolean checkBikeInRegion(String bikeCode); /** * 查询运营区列表,按照距离排序 * @param point 用户当前位置 * @return 列表 */ List findAllRegionsOrderByDistance(PGpoint point); }