fix notfications
This commit is contained in:
@@ -63,7 +63,8 @@ as $fn$
|
||||
from ems.vw_site_effective_price v
|
||||
where v.site_id = p_site_id
|
||||
and v.interval_start >= now()
|
||||
and v.interval_start < now() + interval '48 hours'
|
||||
-- Python notifikace používají jen ceny v horizontu 6 h (24×15 min slotů).
|
||||
and v.interval_start < now() + interval '6 hours'
|
||||
),
|
||||
'[]'::jsonb
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user