changeset 983:a3f9cf7e38c1

Removed code duplicated database trigger since rev 9121d99a471e.
author Tom Gottfried <tom@intevation.de>
date Mon, 27 Jun 2016 17:35:28 +0200
parents 962439442e48
children a51b320a5316
files src/main/java/de/intevation/lada/rest/MessprogrammMmtService.java src/main/java/de/intevation/lada/rest/MessprogrammService.java src/main/java/de/intevation/lada/rest/OrtService.java
diffstat 3 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/rest/MessprogrammMmtService.java	Mon Jun 27 17:04:02 2016 +0200
+++ b/src/main/java/de/intevation/lada/rest/MessprogrammMmtService.java	Mon Jun 27 17:35:28 2016 +0200
@@ -217,7 +217,7 @@
         ) {
             return new Response(false, 699, null);
         }
-        messprogrammmmt.setLetzteAenderung(new Timestamp(new Date().getTime()));
+
         Response response = defaultRepo.update(messprogrammmmt, "land");
         if (!response.getSuccess()) {
             return response;
--- a/src/main/java/de/intevation/lada/rest/MessprogrammService.java	Mon Jun 27 17:04:02 2016 +0200
+++ b/src/main/java/de/intevation/lada/rest/MessprogrammService.java	Mon Jun 27 17:35:28 2016 +0200
@@ -320,7 +320,6 @@
             return response;
         }
 
-        messprogramm.setLetzteAenderung(new Timestamp(new Date().getTime()));
         if (messprogramm.getUmwId() == null || messprogramm.getUmwId().equals("")) {
             messprogramm = factory.findUmweltId(messprogramm);
         }
--- a/src/main/java/de/intevation/lada/rest/OrtService.java	Mon Jun 27 17:04:02 2016 +0200
+++ b/src/main/java/de/intevation/lada/rest/OrtService.java	Mon Jun 27 17:35:28 2016 +0200
@@ -286,7 +286,6 @@
             return response;
         }
 
-        ort.setLetzteAenderung(new Timestamp(new Date().getTime()));
         Response response = defaultRepo.update(ort, "land");
         if (!response.getSuccess()) {
             return response;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)