liujie
2023-10-26 e030255c23c7ba3e2cbad1036a810d6d72fa864f
cloud-server-other/src/main/java/com/dsh/other/service/StoreService.java
@@ -1,7 +1,13 @@
package com.dsh.other.service;
import com.baomidou.mybatisplus.extension.service.IService;
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 java.util.List;
import java.util.Map;
/**
@@ -14,4 +20,59 @@
 */
public interface StoreService extends IService<Store> {
    /**
     * 获取列表数据
     * @param provinceCode
     * @param cityCode
     * @return
     * @throws Exception
     */
    List<Store> queryStorsList(String provinceCode, String cityCode) throws Exception;
    /**
     * 获取门店列表
     * @param lon
     * @param lat
     * @return
     * @throws Exception
     */
    List<BaseVo> queryStoreLists(String lon, String lat,String cityCode) throws Exception;
    /**
     * 获取开通的省市数据
     * @param pcode
     * @return
     * @throws Exception
     */
    List<ProvinceAndCityVo> queryProvinceAndCity(String pcode) throws Exception;
    /**
     * 获取所有城市
     * @return
     * @throws Exception
     */
    List<ProvinceAndCityVo> queryAllCity() throws Exception;
    /**
     * 根据城市code获取门店列表
     * @param cityCode
     * @return
     * @throws Exception
     */
    List<BaseVo> queryStoreByCityCode(String cityCode) throws Exception;
    List<Store> getStoreByCityManagerId(Integer id);
    List<Store> getStoreByStoreStaffId(Integer id);
    String getOName(Integer operatorId);
    List<Map<String, Object>> game(Integer appUserId);
    OperatorUser queryByStoreId(Integer id);
}