49 lines
1.2 KiB
Java
Raw Normal View History

package com.cdzy.operations.service;
2025-10-27 16:54:56 +08:00
import com.cdzy.operations.model.vo.EbikeOperationConfigVo;
import com.cdzy.operations.model.vo.EbikeRegionVo;
import com.mybatisflex.core.service.IService;
import com.cdzy.operations.model.entity.EbikeRegion;
2025-12-30 11:20:29 +08:00
import org.locationtech.jts.geom.Point;
/**
* 运营区域表 服务层
*
* @author attiya
* @since 2025-10-22
*/
public interface EbikeRegionService extends IService<EbikeRegion> {
/**
* 添加运营区
* @param ebikeRegion 运营区
*/
void save(EbikeRegionVo ebikeRegion);
/**
* 修改运营区
* @param ebikeRegion 运营区
*/
void update(EbikeRegionVo ebikeRegion);
2025-10-27 16:54:56 +08:00
/**
* 保存运营配置
* @param configurationVo 配置信息
*/
void operationConfiguration(EbikeOperationConfigVo configurationVo);
/**
* 获取运营配置
* @param regionId 运营区ID
* @return 配置信息
*/
EbikeOperationConfigVo getOperationConfiguration(Long regionId);
2025-12-25 17:16:59 +08:00
/**
* 根据当前位置查询当前运营区信息
2025-12-30 11:20:29 +08:00
* @param point 当前位置
2025-12-25 17:16:59 +08:00
* @return 运营区信息
*/
2025-12-30 11:20:29 +08:00
EbikeRegion getRegionByLocation(Point point);
}