数据20250904优化
This commit is contained in:
@ -428,8 +428,8 @@
|
||||
</select>
|
||||
|
||||
<select id="getSiteSumStackInfo" parameterType="String" resultType="com.xzzn.ems.domain.EmsBatteryStack">
|
||||
select SUM(t.stack_soc) as stackSoc,
|
||||
sum(t.stack_soh) as stackSoh
|
||||
select AVG(t.stack_soc) as stackSoc,
|
||||
AVG(t.stack_soh) as stackSoh
|
||||
from ems_battery_stack t
|
||||
INNER JOIN (
|
||||
select p.site_id,p.device_id,MAX(p.create_time) as max_time
|
||||
|
||||
Reference in New Issue
Block a user