From 70877a72ac7a06e01aecf2961180516157c2c356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com> Date: Thu, 11 Dec 2025 09:42:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8E=86=E5=8F=B2=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E7=9A=84sql=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jeecg/modules/heating/mapper/xml/HeatanalysisMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/heating/mapper/xml/HeatanalysisMapper.xml b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/heating/mapper/xml/HeatanalysisMapper.xml index 0f172f6..19029f9 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/heating/mapper/xml/HeatanalysisMapper.xml +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/heating/mapper/xml/HeatanalysisMapper.xml @@ -617,7 +617,7 @@ view002 = #{params.sourceId} AND view004 IS NULL GROUP BY - DATE_FORMAT(datatime,'%Y-%m-%d %H'), + CONCAT(DATE_FORMAT(datatime,'%Y-%m-%d %H'),':00:00'), view001, view002, view004, @@ -628,7 +628,7 @@ code, view031, region_type - ORDER BY datatime + ORDER BY CONCAT(DATE_FORMAT(datatime,'%Y-%m-%d %H'),':00:00')