From a9cc2343ceaad3e99dc25eb036dc99aeded279a6 Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Fri, 20 Oct 2023 09:26:36 +0800
Subject: [PATCH] Merge branch 'dev' of http://blit.7drlb.com:8888/r/moral into wb

---
 screen-api/src/main/resources/mapper/CityAqiDailyMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/screen-api/src/main/resources/mapper/CityAqiDailyMapper.xml b/screen-api/src/main/resources/mapper/CityAqiDailyMapper.xml
index 1489dcf..01e6551 100644
--- a/screen-api/src/main/resources/mapper/CityAqiDailyMapper.xml
+++ b/screen-api/src/main/resources/mapper/CityAqiDailyMapper.xml
@@ -23,7 +23,7 @@
             GROUP BY c.city_code order by nums
         </if>
         <if test="type == 3 ">
-            and c.time <![CDATA[>=]]> #{start}
+            and DATE_FORMAT(c.time,'%Y') <![CDATA[>=]]> #{start}
             GROUP BY c.city_code order by nums
         </if>
     </select>

--
Gitblit v1.8.0