From eb6b6dbb35a9f029e0b7d269773685c19fd40976 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期四, 11 七月 2024 10:47:51 +0800 Subject: [PATCH] 玩湃微信商户认证代码 --- cloud-server-other/src/main/java/com/dsh/other/mapper/StoreMapper.java | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 60 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..b09eb87 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 @@ -1,7 +1,16 @@ package com.dsh.other.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.dsh.other.entity.OperatorUser; import com.dsh.other.entity.Store; +import com.dsh.other.model.BaseVo; +import com.dsh.other.model.ProvinceAndCityVo; +import com.dsh.other.model.dto.siteDto.StoreInfoDto; +import org.apache.ibatis.annotations.Param; +import org.aspectj.lang.annotation.DeclareParents; + +import java.util.List; +import java.util.Map; /** @@ -14,4 +23,55 @@ */ 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("provinceCode") String provinceCode, @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); + + String getOName(@Param("operatorId") Integer operatorId); + + + List<Map<String, Object>> game(@Param("appUserId") Integer appUserId); + + OperatorUser queryByStoreId(@Param("id") Integer id); + + StoreInfoDto getStoreInfo(@Param("id") Integer id); + } -- Gitblit v1.7.1