燕山石化溯源三维电子沙盘-【后端】-服务
13693261870
2024-03-27 9d3afe6ccb9cabe5d0f8ce86dfbf81a82f989962
src/main/resources/mapper/WeatherMapper.xml
@@ -11,6 +11,15 @@
    </resultMap>
    
    <select id="query" resultMap="WeatherResult">
        select id, time, format(wind_speed, 2) "wind_speed", wind_direction, weather_condition, format(temperature, 2) "temperature"
        from yssh_weather
        <where>
            time between #{begin} and #{end}
        </where>
        order by time;
    </select>
    <select id="query2" resultMap="WeatherResult">
        select id, time, format(wind_speed, 2) "wind_speed", wind_direction, weather_condition, format(temperature, 2) "temperature"
        from yssh_weather
        <where>