comparison etl/src/main/resources/sql/aft-common.properties @ 7730:e1b831fe435a slt-simplify-cross-sections

Merged default into slt-simplify-cross-sections branch and updated package and class names.
author Tom Gottfried <tom@intevation.de>
date Mon, 20 Jan 2014 14:04:20 +0100
parents 5aa05a7a34b7
children
comparison
equal deleted inserted replaced
5084:ca45dd039b54 7730:e1b831fe435a
1 select.gewaesser = \
2 SELECT GEWAESSER_NR, NAME FROM SL_GEWAESSER
3 select.messstelle = \
4 SELECT NAME, MESSSTELLE_NR, STATIONIERUNG \
5 FROM MESSSTELLE \
6 WHERE GEWAESSER_NR = :GEWAESSER_NR
7 select.abflusstafel = \
8 SELECT ABFLUSSTAFEL_NR, \
9 ABFLUSSTAFEL_BEZ, \
10 strftime('%s', GUELTIG_VON) * 1000 AS GUELTIG_VON, \
11 strftime('%s', GUELTIG_BIS) * 1000 AS GUELTIG_BIS, \
12 PEGELNULLPUNKT, \
13 BFG_ID \
14 FROM ABFLUSSTAFEL \
15 WHERE MESSSTELLE_NR LIKE :number
16 select.tafelwert = \
17 SELECT TAFELWERT_NR AS id, WASSERSTAND AS w, ABFLUSS AS q FROM TAFELWERT \
18 WHERE ABFLUSSTAFEL_NR = :number
19 select.bfg.id.current = \
20 SELECT ABT.BFG_ID AS BFG_ID FROM ABFLUSSTAFEL ABT \
21 WHERE GUELTIG_VON IN ( \
22 SELECT min(GUELTIG_VON) FROM ABFLUSSTAFEL \
23 WHERE GUELTIG_VON IS NOT NULL AND GUELTIG_BIS IS NULL \
24 AND MESSSTELLE_NR LIKE :number) \
25 AND MESSSTELLE_NR LIKE :number

http://dive4elements.wald.intevation.org