Mercurial > dive4elements > river
diff flys-aft/src/main/resources/sql/aft-common.properties @ 4114:ae5119da92cd
merged flys-aft
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 11 Oct 2012 14:54:10 +0200 |
parents | a91c7e982c32 |
children | 04377ccef10a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-aft/src/main/resources/sql/aft-common.properties Thu Oct 11 14:54:10 2012 +0200 @@ -0,0 +1,10 @@ +select.gewaesser = SELECT GEWAESSER_NR, NAME FROM SL_GEWAESSER +select.messstelle = SELECT NAME, MESSSTELLE_NR FROM MESSSTELLE WHERE GEWAESSER_NR = :GEWAESSER_NR +select.abflusstafel = SELECT ABFLUSSTAFEL_NR, \ + ABFLUSSTAFEL_BEZ, \ + strftime('%s', GUELTIG_VON) * 1000 AS GUELTIG_VON, \ + strftime('%s', GUELTIG_BIS) * 1000 AS GUELTIG_BIS, \ + PEGELNULLPUNKT FROM ABFLUSSTAFEL WHERE MESSSTELLE_NR LIKE :number +select.tafelwert = SELECT TAFELWERT_NR AS id, WASSERSTAND AS w, ABFLUSS AS q FROM TAFELWERT \ + WHERE ABFLUSSTAFEL_NR = :number +