Mercurial > dive4elements > river
changeset 7630:3da531976039
issue1043: Fetch 'dm'-values in QualityMeasurementFactory.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 02 Dec 2013 14:43:43 +0100 |
parents | 1e509612445f |
children | 5d172bda6770 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/QualityMeasurementFactory.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/QualityMeasurementFactory.java Mon Dec 02 14:42:49 2013 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/QualityMeasurementFactory.java Mon Dec 02 14:43:43 2013 +0100 @@ -31,6 +31,7 @@ " sp.tiefevon as depth1," + " sp.tiefebis as depth2," + " sa.d10 as d10," + + " sa.dm as dm," + " sa.d16 as d16," + " sa.d20 as d20," + " sa.d25 as d25," + @@ -61,6 +62,7 @@ private static final String SQL_BEDLOAD_MEASUREMENT = "SELECT m.km as km," + " m.datum as datum," + + " m.dm as dm," + " m.d10 as d10," + " m.d16 as d16," + " m.d20 as d20," + @@ -143,6 +145,7 @@ SQLQuery query = session.createSQLQuery(statement) .addScalar("km", StandardBasicTypes.DOUBLE) .addScalar("datum", StandardBasicTypes.DATE) + .addScalar("dm", StandardBasicTypes.DOUBLE) .addScalar("d10", StandardBasicTypes.DOUBLE) .addScalar("d16", StandardBasicTypes.DOUBLE) .addScalar("d20", StandardBasicTypes.DOUBLE)