package com.sikey.wa04.business.infrastructure.repository;

import com.sikey.wa04.business.infrastructure.dto.model.MapWeatherModel;
import com.sikey.wa04.business.infrastructure.dto.model.UserModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface WeatherRepository extends JpaRepository<MapWeatherModel, String> {

    /**
     * 根据城市Id查询
     *
     * @param cityId 城市Id
     * @return
     */
    MapWeatherModel findByCityId(String cityId);

}
