[Lada-commits] [PATCH 10 of 13] Fixed LAF exporter

Wald Commits scm-commit at wald.intevation.org
Fri May 29 11:48:20 CEST 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1432892763 -7200
# Node ID 618d1b2f396f2aa779b1d580afd20e434b6a8acf
# Parent  328865fa3db7fa76c8affc5f990b060468d78ea9
Fixed LAF exporter.

diff -r 328865fa3db7 -r 618d1b2f396f src/main/java/de/intevation/lada/exporter/laf/LafCreator.java
--- a/src/main/java/de/intevation/lada/exporter/laf/LafCreator.java	Fri May 22 15:15:52 2015 +0200
+++ b/src/main/java/de/intevation/lada/exporter/laf/LafCreator.java	Fri May 29 11:46:03 2015 +0200
@@ -216,7 +216,7 @@
             oBuilder.and("id", o.getOrt());
             List<SOrt> sOrte=
                 (List<SOrt>)repository.filter(
-                    builder.getQuery(),
+                    oBuilder.getQuery(),
                     "stamm").getData();
 
             laf += lafLine("ORT_CODE",
@@ -340,7 +340,7 @@
         eBuilder.and("id", mw.getMehId());
         List<MessEinheit> einheiten =
             (List<MessEinheit>)repository.filter(
-                builder.getQuery(),
+                eBuilder.getQuery(),
                 "stamm").getData();
 
         String value = "\"" + groessen.get(0).getMessgroesse() + "\"";


More information about the Lada-commits mailing list