Mercurial > dive4elements > river
diff flys-aft/src/main/resources/sql/flys-common.properties @ 4109:8ba11e13ae8a
AFT-Import: Insert
new discharge tables as 'Historische Abflusstafel' kind.
flys-aft/trunk@3956 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 08 Feb 2012 09:43:12 +0000 |
parents | 83c72bc07591 |
children | a310aceb2e51 |
line wrap: on
line diff
--- a/flys-aft/src/main/resources/sql/flys-common.properties Wed Jan 11 17:53:32 2012 +0000 +++ b/flys-aft/src/main/resources/sql/flys-common.properties Wed Feb 08 09:43:12 2012 +0000 @@ -8,7 +8,7 @@ insert.timeinterval = INSERT INTO time_intervals (id, start_time, stop_time) VALUES (:id, :start_time, :stop_time) next.discharge.id = SELECT NEXTVAL('DISCHARGE_TABLES_ID_SEQ') AS discharge_table_id insert.dischargetable = INSERT INTO discharge_tables (id, gauge_id, description, kind, time_interval_id) \ - VALUES (:id, :gauge_id, :description, 0, :time_interval_id) + VALUES (:id, :gauge_id, :description, 1, :time_interval_id) select.discharge.table.values = SELECT id, w, q FROM discharge_table_values WHERE table_id = :table_id next.discharge.table.values.id = SELECT NEXTVAL('DISCHARGE_TABLE_VALUES_ID_SEQ') AS discharge_table_values_id insert.discharge.table.value = INSERT INTO discharge_table_values (id, table_id, w, q) VALUES (:id, :table_id, :w, :q)