Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/rest/MessprogrammMmtService.java @ 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 | 2c927b3edb97 |
children | f92c96efa976 186d602e031a |
comparison
equal
deleted
inserted
replaced
982:962439442e48 | 983:a3f9cf7e38c1 |
---|---|
215 RequestMethod.PUT, | 215 RequestMethod.PUT, |
216 MessprogrammMmt.class) | 216 MessprogrammMmt.class) |
217 ) { | 217 ) { |
218 return new Response(false, 699, null); | 218 return new Response(false, 699, null); |
219 } | 219 } |
220 messprogrammmmt.setLetzteAenderung(new Timestamp(new Date().getTime())); | 220 |
221 Response response = defaultRepo.update(messprogrammmmt, "land"); | 221 Response response = defaultRepo.update(messprogrammmmt, "land"); |
222 if (!response.getSuccess()) { | 222 if (!response.getSuccess()) { |
223 return response; | 223 return response; |
224 } | 224 } |
225 Response updated = defaultRepo.getById( | 225 Response updated = defaultRepo.getById( |