From a1e4cfc3de4f3f3f3956b769bc7af40d097c8a4c Mon Sep 17 00:00:00 2001
From: liujie <liujie>
Date: 星期二, 17 十月 2023 15:12:57 +0800
Subject: [PATCH] 修改bug

---
 cloud-server-other/src/main/java/com/dsh/other/mapper/StoreMapper.java |   13 +++++++++++++
 1 files changed, 13 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 8c9579f..0bacdc4 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
@@ -5,6 +5,7 @@
 import com.dsh.other.model.BaseVo;
 import com.dsh.other.model.ProvinceAndCityVo;
 import org.apache.ibatis.annotations.Param;
+import org.aspectj.lang.annotation.DeclareParents;
 
 import java.util.List;
 
@@ -42,4 +43,16 @@
      */
     List<BaseVo> queryStoreByCityCode(@Param("cityCode") String cityCode);
 
+    /**
+     * 根据城市管理员id获取门店集合
+     * @param id
+     * @return
+     */
+    List<Store> getStoreByCityManagerId(@Param("id") Integer id);
+    /**
+     * 根据门店员工id获取门店集合
+     * @param id
+     * @return
+     */
+    List<Store> getStoreByStoreStaffId(@Param("id") Integer id);
 }

--
Gitblit v1.7.1