nickchange
2023-10-18 783b9ee7a8caa508d123d34bfbbf294716211dd7
cloud-server-other/src/main/java/com/dsh/other/service/StoreService.java
@@ -3,6 +3,7 @@
import com.baomidou.mybatisplus.extension.service.IService;
import com.dsh.other.entity.Store;
import com.dsh.other.model.BaseVo;
import com.dsh.other.model.ProvinceAndCityVo;
import java.util.List;
@@ -35,6 +36,35 @@
     * @return
     * @throws Exception
     */
    List<BaseVo> queryStoreLists(String lon, String lat) 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);
}