From 5e9129373399e9cc3bdecf9b8365e1c6b6b0ecdd Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Wed, 21 Oct 2020 13:28:19 +0800
Subject: [PATCH] 修改时间bug

---
 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