From 5df006aac405fe996fff71f7854e37c324892367 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期一, 09 十月 2023 18:27:48 +0800
Subject: [PATCH] 后台代码提交
---
cloud-server-other/src/main/java/com/dsh/other/service/StoreService.java | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 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 4bd14d7..92a2931 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
@@ -2,6 +2,10 @@
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;
/**
@@ -14,4 +18,53 @@
*/
public interface StoreService extends IService<Store> {
+
+ /**
+ * 获取列表数据
+ * @param provinceCode
+ * @param cityCode
+ * @return
+ * @throws Exception
+ */
+ List<Store> queryStorsList(String provinceCode, String cityCode) throws Exception;
+
+
+ /**
+ * 获取门店列表
+ * @param lon
+ * @param lat
+ * @return
+ * @throws Exception
+ */
+ List<BaseVo> queryStoreLists(String lon, String lat) 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