From 94d4a4e7600665f6b40b6d791b798b498196191b Mon Sep 17 00:00:00 2001 From: 于紫祥_1901 <email@yuzixiang_1910> Date: Wed, 23 Dec 2020 13:54:23 +0800 Subject: [PATCH] 公式更改 --- src/main/resources/mapper/ForecastWeatherMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/ForecastWeatherMapper.xml b/src/main/resources/mapper/ForecastWeatherMapper.xml index d9403c5..9ce0208 100644 --- a/src/main/resources/mapper/ForecastWeatherMapper.xml +++ b/src/main/resources/mapper/ForecastWeatherMapper.xml @@ -7,7 +7,7 @@ <select id="getForecastHour" resultType="java.util.Map"> SELECT DATE_FORMAT(time, #{typeFormat}) time, - json->'$.O3C' 'O3' + json->'$.${sensor1}' '${sensor2}' from forecast_weather where time >= #{start} AND time <![CDATA[<]]> #{end} -- Gitblit v1.8.0