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_deviceid text;
|
||||||
v_result rt_totalizer_result%rowtype;
|
v_result rt_totalizer_result%rowtype;
|
||||||
begin
|
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;
|
v_day := p_start_day;
|
||||||
loop
|
loop
|
||||||
select energy
|
select energy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user