beautify
This commit is contained in:
parent
1c5fa54c8f
commit
6856164bbe
@ -69,7 +69,9 @@ create or replace function total_energy(p_start_day date, p_end_say date)
|
||||
v_deviceid text;
|
||||
v_result rt_totalizer_result%rowtype;
|
||||
begin
|
||||
for v_deviceid in select distinct deviceid from power_measurement_t loop
|
||||
for v_deviceid in select distinct deviceid
|
||||
from power_measurement_t
|
||||
loop
|
||||
v_day := p_start_day;
|
||||
loop
|
||||
select energy
|
||||
|
Loading…
x
Reference in New Issue
Block a user