调整历史查询的sql语句

This commit is contained in:
曹磊 2025-12-11 09:42:51 +08:00
parent 806ea7d39c
commit 70877a72ac
1 changed files with 2 additions and 2 deletions

View File

@ -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')
</select>
<select id="getStaticNowList" resultType="org.jeecg.modules.heating.entity.Heatanalysis">