49 lines
1.2 KiB
Java
49 lines
1.2 KiB
Java
package com.cdzy.operations.service;
|
|
|
|
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;
|
|
import org.postgresql.geometric.PGpoint;
|
|
|
|
/**
|
|
* 运营区域表 服务层。
|
|
*
|
|
* @author attiya
|
|
* @since 2025-10-22
|
|
*/
|
|
public interface EbikeRegionService extends IService<EbikeRegion> {
|
|
|
|
/**
|
|
* 添加运营区
|
|
* @param ebikeRegion 运营区
|
|
*/
|
|
void save(EbikeRegionVo ebikeRegion);
|
|
|
|
/**
|
|
* 修改运营区
|
|
* @param ebikeRegion 运营区
|
|
*/
|
|
void update(EbikeRegionVo ebikeRegion);
|
|
|
|
/**
|
|
* 保存运营配置
|
|
* @param configurationVo 配置信息
|
|
*/
|
|
void operationConfiguration(EbikeOperationConfigVo configurationVo);
|
|
|
|
/**
|
|
* 获取运营配置
|
|
* @param regionId 运营区ID
|
|
* @return 配置信息
|
|
*/
|
|
EbikeOperationConfigVo getOperationConfiguration(Long regionId);
|
|
|
|
/**
|
|
* 根据当前位置查询当前运营区信息
|
|
* @param pGpoint 当前位置
|
|
* @return 运营区信息
|
|
*/
|
|
EbikeRegion getRegionByLocation(PGpoint pGpoint);
|
|
}
|