From c60311f48e7ec07c56a4df31536f795ba62751ce Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Fri, 09 Oct 2020 16:44:42 +0800 Subject: [PATCH] 昆山,沧州大数据预测O3 --- src/main/resources/mapper/ForecastWeatherMapper.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/ForecastWeatherMapper.xml b/src/main/resources/mapper/ForecastWeatherMapper.xml index 58e3a2c..ccc220f 100644 --- a/src/main/resources/mapper/ForecastWeatherMapper.xml +++ b/src/main/resources/mapper/ForecastWeatherMapper.xml @@ -20,4 +20,11 @@ AND time <![CDATA[<]]> #{end} and city_code=#{cityCode} </delete> + + <select id="getBeam" resultType="java.lang.String"> + select json->'$.beam' as 'beam' + from forecast_weather + where time=#{time} + and city_code=#{cityCode} + </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0