# HG changeset patch # User Andre Heinecke # Date 1375092972 -7200 # Node ID f41ba63e7a434329b64d698ecb157f9d43d89ace # Parent 0b0325d1ab7f4f01bf09e70a831af948e9aaebad issue1391: Unify datacage elements in discharge curve outs and add historical discharges diff -r 0b0325d1ab7f -r f41ba63e7a43 artifacts/doc/conf/meta-data.xml --- a/artifacts/doc/conf/meta-data.xml Mon Jul 29 12:14:51 2013 +0200 +++ b/artifacts/doc/conf/meta-data.xml Mon Jul 29 12:16:12 2013 +0200 @@ -146,8 +146,29 @@ + + + + + + + + + + + + - + + + + + + + + + + @@ -256,6 +277,7 @@ + @@ -356,6 +378,7 @@ + @@ -460,6 +483,46 @@ + + + + + SELECT g.id AS gauge_id, + g.name AS gauge_name, + dt.id AS dt_id, + t.start_time AS start_time, + t.stop_time AS stop_time, + dt.description AS desc, + dt.bfg_id AS bfg_id + FROM gauges g + JOIN discharge_tables dt ON g.id = dt.gauge_id + LEFT JOIN time_intervals t ON dt.time_interval_id = t.id + LEFT JOIN ranges r ON g.range_id = r.id + WHERE g.river_id = ${river_id} + AND dt.kind <> 0 + AND NOT((${tokm} < r.a) or (${fromkm} > r.b)) + ORDER BY start_time + + + + + + + + Hallo ANDRE23 {dc:dump-variables()} + + + + + + + + + +