调整历史查询的sql语句
This commit is contained in:
parent
806ea7d39c
commit
70877a72ac
|
|
@ -617,7 +617,7 @@
|
||||||
view002 = #{params.sourceId}
|
view002 = #{params.sourceId}
|
||||||
AND view004 IS NULL
|
AND view004 IS NULL
|
||||||
GROUP BY
|
GROUP BY
|
||||||
DATE_FORMAT(datatime,'%Y-%m-%d %H'),
|
CONCAT(DATE_FORMAT(datatime,'%Y-%m-%d %H'),':00:00'),
|
||||||
view001,
|
view001,
|
||||||
view002,
|
view002,
|
||||||
view004,
|
view004,
|
||||||
|
|
@ -628,7 +628,7 @@
|
||||||
code,
|
code,
|
||||||
view031,
|
view031,
|
||||||
region_type
|
region_type
|
||||||
ORDER BY datatime
|
ORDER BY CONCAT(DATE_FORMAT(datatime,'%Y-%m-%d %H'),':00:00')
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getStaticNowList" resultType="org.jeecg.modules.heating.entity.Heatanalysis">
|
<select id="getStaticNowList" resultType="org.jeecg.modules.heating.entity.Heatanalysis">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue