From b64d67ef01e81a857046f19dd556b4e4f0695e1c Mon Sep 17 00:00:00 2001
From: liujie <liujie>
Date: 星期三, 02 八月 2023 16:41:51 +0800
Subject: [PATCH] 后台代码  门店管理

---
 cloud-server-other/src/main/java/com/dsh/other/mapper/StoreMapper.java |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/mapper/StoreMapper.java b/cloud-server-other/src/main/java/com/dsh/other/mapper/StoreMapper.java
index ef3e422..8c9579f 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/mapper/StoreMapper.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/mapper/StoreMapper.java
@@ -2,6 +2,11 @@
 
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.dsh.other.entity.Store;
+import com.dsh.other.model.BaseVo;
+import com.dsh.other.model.ProvinceAndCityVo;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
 
 
 /**
@@ -14,4 +19,27 @@
  */
 public interface StoreMapper extends BaseMapper<Store> {
 
+
+    /**
+     * 获取省数据
+     * @return
+     */
+    List<ProvinceAndCityVo> queryProvince();
+
+
+    /**
+     * 获取市数据
+     * @param pcode
+     * @return
+     */
+    List<ProvinceAndCityVo> queryCity(@Param("pcode") String pcode);
+
+
+    /**
+     * 根据城市code获取城市列表
+     * @param cityCode
+     * @return
+     */
+    List<BaseVo> queryStoreByCityCode(@Param("cityCode") String cityCode);
+
 }

--
Gitblit v1.7.1