20250808优化-充放电逻辑修改

This commit is contained in:
2025-08-28 14:15:19 +08:00
parent 1a1558f8cd
commit 26bbe6deee
10 changed files with 199 additions and 57 deletions

View File

@ -343,7 +343,7 @@
avg(t.avg_cell_temp) as batteryTemp,
DATE_FORMAT(t.create_time, '%Y-%m-%d %H:%i:00') AS createDate
from ems_battery_cluster t
where t.site_id = '021_FXX_01'
where t.site_id = #{siteId}
AND t.create_time >= Date(#{startDate})
AND t.create_time <= #{endDate}
GROUP BY t.site_id,DATE_FORMAT(t.create_time, '%Y-%m-%d %H:%i:00')