changeset 922:48ca912c571e

Removed timestamp update (letzte_aenderung) from server code.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 13 Apr 2016 20:14:31 +0200
parents 83a7ef8d4f69
children 20547dfc436e
files src/main/java/de/intevation/lada/rest/MessungService.java src/main/java/de/intevation/lada/rest/MesswertService.java src/main/java/de/intevation/lada/rest/ProbeService.java src/main/java/de/intevation/lada/rest/ZusatzwertService.java
diffstat 4 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/rest/MessungService.java	Wed Apr 13 18:46:43 2016 +0200
+++ b/src/main/java/de/intevation/lada/rest/MessungService.java	Wed Apr 13 20:14:31 2016 +0200
@@ -377,7 +377,6 @@
             response.setWarnings(violation.getWarnings());
             return response;
         }
-        messung.setLetzteAenderung(new Timestamp(new Date().getTime()));
         Response response = repository.update(messung, "land");
         Response updated = repository.getById(
             LMessung.class,
--- a/src/main/java/de/intevation/lada/rest/MesswertService.java	Wed Apr 13 18:46:43 2016 +0200
+++ b/src/main/java/de/intevation/lada/rest/MesswertService.java	Wed Apr 13 20:14:31 2016 +0200
@@ -331,7 +331,6 @@
             return response;
         }
 
-        messwert.setLetzteAenderung(new Timestamp(new Date().getTime()));
         Response response = defaultRepo.update(messwert, "land");
         Response updated = defaultRepo.getById(
             LMesswert.class,
--- a/src/main/java/de/intevation/lada/rest/ProbeService.java	Wed Apr 13 18:46:43 2016 +0200
+++ b/src/main/java/de/intevation/lada/rest/ProbeService.java	Wed Apr 13 20:14:31 2016 +0200
@@ -445,7 +445,6 @@
         if (probe.getUmwId() == null || probe.getUmwId() == "") {
             factory.findUmweltId(probe);
         }
-        probe.setLetzteAenderung(new Timestamp(new Date().getTime()));
         Response response = repository.update(probe, "land");
         Response updated = repository.getById(
             LProbe.class,
--- a/src/main/java/de/intevation/lada/rest/ZusatzwertService.java	Wed Apr 13 18:46:43 2016 +0200
+++ b/src/main/java/de/intevation/lada/rest/ZusatzwertService.java	Wed Apr 13 20:14:31 2016 +0200
@@ -246,7 +246,6 @@
         if (lock.isLocked(zusatzwert)) {
             return new Response(false, 697, null);
         }
-        zusatzwert.setLetzteAenderung(new Timestamp(new Date().getTime()));
         Response response = defaultRepo.update(zusatzwert, "land");
         Response updated = defaultRepo.getById(
             LZusatzWert.class,
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)