From 8c55ab2701c99cec16eff92a26fefdf77fcdd28f Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期一, 25 九月 2023 16:17:44 +0800 Subject: [PATCH] app接口修改 --- 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