From b5e51fc48bc65fc27ed4d6c4f3e82414646113bd Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期三, 18 十月 2023 11:26:36 +0800 Subject: [PATCH] 修改bug --- cloud-server-other/src/main/java/com/dsh/other/service/StoreService.java | 32 +++++++++++++++++++++++++++++++- 1 files changed, 31 insertions(+), 1 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/service/StoreService.java b/cloud-server-other/src/main/java/com/dsh/other/service/StoreService.java index e9295fc..e0da73e 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/service/StoreService.java +++ b/cloud-server-other/src/main/java/com/dsh/other/service/StoreService.java @@ -3,6 +3,7 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.dsh.other.entity.Store; import com.dsh.other.model.BaseVo; +import com.dsh.other.model.ProvinceAndCityVo; import java.util.List; @@ -35,6 +36,35 @@ * @return * @throws Exception */ - List<BaseVo> queryStoreLists(String lon, String lat) throws Exception; + List<BaseVo> queryStoreLists(String lon, String lat,String cityCode) throws Exception; + + /** + * 获取开通的省市数据 + * @param pcode + * @return + * @throws Exception + */ + List<ProvinceAndCityVo> queryProvinceAndCity(String pcode) throws Exception; + + + /** + * 获取所有城市 + * @return + * @throws Exception + */ + List<ProvinceAndCityVo> queryAllCity() throws Exception; + + + /** + * 根据城市code获取门店列表 + * @param cityCode + * @return + * @throws Exception + */ + List<BaseVo> queryStoreByCityCode(String cityCode) throws Exception; + + List<Store> getStoreByCityManagerId(Integer id); + + List<Store> getStoreByStoreStaffId(Integer id); } -- Gitblit v1.7.1