Mercurial > lada > lada-server
changeset 1159:67fff2a4437e
Do not export an empty HauptprobenNr.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 08 Nov 2016 17:45:27 +0100 |
parents | 3d1b7b1586a8 |
children | 5d2c68a4c344 |
files | src/main/java/de/intevation/lada/exporter/laf/LafCreator.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/exporter/laf/LafCreator.java Tue Nov 08 17:32:02 2016 +0100 +++ b/src/main/java/de/intevation/lada/exporter/laf/LafCreator.java Tue Nov 08 17:45:27 2016 +0100 @@ -133,7 +133,8 @@ laf += probe.getLaborMstId() == null ? "" : lafLine("MESSLABOR", probe.getLaborMstId()); laf += lafLine("PROBE_ID", probe.getIdAlt()); - laf += lafLine("HAUPTPROBENNUMMER", probe.getHauptprobenNr()); + laf += probe.getHauptprobenNr() == null ? + "" : lafLine("HAUPTPROBENNUMMER", probe.getHauptprobenNr()); laf += probe.getBaId() == null ? "" : lafLine("MESSPROGRAMM_S", "\"" + probe.getBaId() + "\""); laf += probe.getProbenartId() == null ?