From 6d4bda18faba8f4710ef442ad6bcbf9c1cf7d574 Mon Sep 17 00:00:00 2001 From: Justin Field Date: Sun, 11 Dec 2016 14:58:06 -0800 Subject: [PATCH] Fix bug introduced by the riposte port and the migration from Juke to Mybatis --- .../com/nike/cerberus/service/UserGroupPermissionService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/nike/cerberus/service/UserGroupPermissionService.java b/src/main/java/com/nike/cerberus/service/UserGroupPermissionService.java index 32ff06085..d313df97e 100644 --- a/src/main/java/com/nike/cerberus/service/UserGroupPermissionService.java +++ b/src/main/java/com/nike/cerberus/service/UserGroupPermissionService.java @@ -170,8 +170,8 @@ public void updateUserGroupPermission(final String safeDepositBoxId, record.setSdboxId(safeDepositBoxId); record.setUserGroupId(possibleUserGroupRecord.get().getId()); record.setRoleId(userGroupPermission.getRoleId()); - record.setLastUpdatedBy(userGroupPermission.getLastUpdatedBy()); - record.setLastUpdatedTs(userGroupPermission.getLastUpdatedTs()); + record.setLastUpdatedBy(user); + record.setLastUpdatedTs(dateTime); userGroupDao.updateUserGroupPermission(record); }