fix:修改了聚合查询
This commit is contained in:
parent
d133eedd06
commit
41a2041374
@ -80,8 +80,7 @@ func (dao *SensorDAO) GetAggregatedData(start, end time.Time, interval string) (
|
||||
query,
|
||||
intervalMinutes, intervalMinutes, // 时间桶计算参数
|
||||
start, end, // 时间范围
|
||||
intervalMinutes // GROUP BY参数
|
||||
)
|
||||
intervalMinutes)
|
||||
|
||||
if err != nil {
|
||||
logger.Logger.Printf("查询聚合数据失败: %v (间隔=%s, 开始=%s, 结束=%s)",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user