|
@@ -24,7 +24,7 @@ SET unit_mass = (CASE
|
|
END);
|
|
END);
|
|
SET start = (CASE
|
|
SET start = (CASE
|
|
WHEN $start = '' OR $start IS NULL
|
|
WHEN $start = '' OR $start IS NULL
|
|
- THEN to_char(now()-'30 days'::interval, 'YYYY-MM-DD')
|
|
|
|
|
|
+ THEN to_char(now()-'90 days'::interval, 'YYYY-MM-DD')
|
|
ELSE $start
|
|
ELSE $start
|
|
END);
|
|
END);
|
|
SET end = CASE
|
|
SET end = CASE
|