Skip to content
Snippets Groups Projects
Commit 31d2661c authored by Ruud Overeem's avatar Ruud Overeem
Browse files

Task #1418: Reverting previous checkin where the times in the tree itself...

Task #1418: Reverting previous checkin where the times in the tree itself where not updated anymore.
parent 95caa3e0
No related branches found
No related tags found
No related merge requests found
...@@ -87,6 +87,16 @@ CREATE OR REPLACE FUNCTION setSchedule(INT4, INT4, VARCHAR(20), VARCHAR(20)) ...@@ -87,6 +87,16 @@ CREATE OR REPLACE FUNCTION setSchedule(INT4, INT4, VARCHAR(20), VARCHAR(20))
stoptime = vStopTime stoptime = vStopTime
WHERE treeID = $2; WHERE treeID = $2;
UPDATE vicHierarchy
SET value = vStartTime
WHERE treeID = $2
AND name LIKE '%.Observation.startTime';
UPDATE vicHierarchy
SET value = vStopTime
WHERE treeID = $2
AND name LIKE '%.Observation.stopTime';
RETURN TRUE; RETURN TRUE;
END; END;
$$ LANGUAGE plpgsql; $$ LANGUAGE plpgsql;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment