Commit b339801963572c66be886079c222b7fbee5e7334
1 parent
a17d4bb2
fix:iot首页统计中存在的TDengine中的SQL特异性问题:在TDengine中,GROUP BY子句不能直接使用别名。在你的SQL中,你先使用TIME…
…TRUNCATE(ts, 1h) AS time定义了一个别名time,然后在GROUP BY time中使用了这个别名,这在TDengine中是不允许的。
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-iot/yudao-module-iot-biz/src/main/resources/mapper/device/IotDeviceMessageMapper.xml