Mercurial > dive4elements > river
diff flys-aft/src/main/resources/sql/aft-common.properties @ 4088:52cde7fe742a
Fetch discharge table infos from AFT.
flys-aft/trunk@3573 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 03 Jan 2012 11:36:07 +0000 |
parents | 039413d7e394 |
children | d556e29592f5 |
line wrap: on
line diff
--- a/flys-aft/src/main/resources/sql/aft-common.properties Mon Jan 02 17:45:25 2012 +0000 +++ b/flys-aft/src/main/resources/sql/aft-common.properties Tue Jan 03 11:36:07 2012 +0000 @@ -1,3 +1,7 @@ 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, \ + strftime('%s', GUELTIG_VON) * 1000 AS GUELTIG_VON, \ + strftime('%s', GUELTIG_BIS) * 1000 AS GUELTIG_BIS, \ + PEGELNULLPUNKT FROM ABFLUSSTAFEL WHERE MESSSTELLE_NR LIKE :number