update the modificationDate at the end
This commit is contained in:
parent
9dd2a5f523
commit
66e0238d73
|
@ -132,8 +132,6 @@ public class DatabaseUtils {
|
|||
|
||||
final OffsetDateTime now = OffsetDateTime.now();
|
||||
|
||||
organizationRepository.updateModificationDate(newId, user, now);
|
||||
|
||||
if (StringUtils.equals(newId, oldId)) {
|
||||
makeRelations(newId, orgView, true);
|
||||
} else {
|
||||
|
@ -160,6 +158,8 @@ public class DatabaseUtils {
|
|||
}
|
||||
}
|
||||
|
||||
organizationRepository.updateModificationDate(newId, user, now);
|
||||
|
||||
return newId;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue