Mercurial > dive4elements > river
comparison flys-aft/src/main/resources/sql/aft-common.properties @ 5188:2b7f44c80857
Stations are now filtered by DiPS not AFT.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 07 Mar 2013 12:46:37 +0100 |
parents | d9f1202cef78 |
children | da1e897c7224 |
comparison
equal
deleted
inserted
replaced
5187:eec78b9f73b8 | 5188:2b7f44c80857 |
---|---|
1 select.gewaesser = SELECT GEWAESSER_NR, NAME FROM SL_GEWAESSER | 1 select.gewaesser = \ |
2 SELECT GEWAESSER_NR, NAME FROM SL_GEWAESSER | |
2 select.messstelle = \ | 3 select.messstelle = \ |
3 SELECT NAME, MESSSTELLE_NR \ | 4 SELECT NAME, MESSSTELLE_NR, STATIONIERUNG \ |
4 FROM MESSSTELLE \ | 5 FROM MESSSTELLE \ |
5 WHERE GEWAESSER_NR = :GEWAESSER_NR AND STATIONIERUNG BETWEEN :START_KM AND :END_KM | 6 WHERE GEWAESSER_NR = :GEWAESSER_NR |
6 select.abflusstafel = \ | 7 select.abflusstafel = \ |
7 SELECT ABFLUSSTAFEL_NR, \ | 8 SELECT ABFLUSSTAFEL_NR, \ |
8 ABFLUSSTAFEL_BEZ, \ | 9 ABFLUSSTAFEL_BEZ, \ |
9 strftime('%s', GUELTIG_VON) * 1000 AS GUELTIG_VON, \ | 10 strftime('%s', GUELTIG_VON) * 1000 AS GUELTIG_VON, \ |
10 strftime('%s', GUELTIG_BIS) * 1000 AS GUELTIG_BIS, \ | 11 strftime('%s', GUELTIG_BIS) * 1000 AS GUELTIG_BIS, \ |
11 PEGELNULLPUNKT, \ | 12 PEGELNULLPUNKT, \ |
12 BFG_ID \ | 13 BFG_ID \ |
13 FROM ABFLUSSTAFEL \ | 14 FROM ABFLUSSTAFEL \ |
14 WHERE MESSSTELLE_NR LIKE :number | 15 WHERE MESSSTELLE_NR LIKE :number |
15 select.tafelwert = SELECT TAFELWERT_NR AS id, WASSERSTAND AS w, ABFLUSS AS q FROM TAFELWERT \ | 16 select.tafelwert = \ |
16 WHERE ABFLUSSTAFEL_NR = :number | 17 SELECT TAFELWERT_NR AS id, WASSERSTAND AS w, ABFLUSS AS q FROM TAFELWERT \ |
18 WHERE ABFLUSSTAFEL_NR = :number | |
17 | 19 |