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); }