From 5771c822e99c38f0484559f1f68843979f0df24b Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期三, 20 九月 2023 19:12:54 +0800 Subject: [PATCH] 后台代码 --- 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