From 34d9307df9870510f9204659ddf9f5389012cd4d Mon Sep 17 00:00:00 2001 From: cjl <909710561@qq.com> Date: Mon, 17 Jun 2024 15:57:37 +0800 Subject: [PATCH] fix:sql查询时间调整 --- screen-api/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/screen-api/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml b/screen-api/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml index 360ff73..ffb0a1b 100644 --- a/screen-api/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml +++ b/screen-api/src/main/resources/mapper/HistoryFiveMinutelyMapper.xml @@ -6,7 +6,7 @@ <select id="getAreaWindData" resultType="com.moral.api.pojo.dto.Wind.WindData"> SELECT d.longitude AS longitude, - d.latitude AS latitude, + d.latitude AS latitude,d.mac, CASE WHEN h.value->'$.a01007' = 0 THEN 0.1 ELSE h.value->'$.a01007' END AS windSpeed, h.value->'$.a01008' AS windDir -- Gitblit v1.8.0