From 1b98b1828d7f142d349afcabea2ae006b86f002c Mon Sep 17 00:00:00 2001 From: Vladislav Kopnin Date: Thu, 29 Oct 2026 19:23:35 +0300 Subject: [PATCH] =?UTF-8?q?fix(import):=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=D0=BB=D1=8F=D1=82=D1=8C=20updated=5Fat=20=D0=BF=D1=80=D0=B8=20?= =?UTF-8?q?=D0=B2=D0=BE=D1=81=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B8=20=D0=B0=D0=BA=D0=BA=D0=B0=D1=83=D0=BD?= =?UTF-8?q?=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/ru/ysu/lms/identity/roster/GroupImportService.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/identity-service/src/main/kotlin/ru/ysu/lms/identity/roster/GroupImportService.kt b/services/identity-service/src/main/kotlin/ru/ysu/lms/identity/roster/GroupImportService.kt index 384891c..c6f8d8f 100644 --- a/services/identity-service/src/main/kotlin/ru/ysu/lms/identity/roster/GroupImportService.kt +++ b/services/identity-service/src/main/kotlin/ru/ysu/lms/identity/roster/GroupImportService.kt @@ -20,6 +20,7 @@ import ru.ysu.lms.identity.repo.GroupRepository import ru.ysu.lms.identity.repo.MembershipHistoryRepository import ru.ysu.lms.identity.repo.StudentRepository import ru.ysu.lms.security.LmsRole +import java.time.Instant import java.util.UUID @Suppress("LongParameterList") @@ -179,6 +180,7 @@ class GroupImportService( existing.account?.takeIf { it.status == AccountStatus.ARCHIVED }?.let { account -> account.status = AccountStatus.ACTIVE account.archivedAt = null + account.updatedAt = Instant.now() accounts.save(account) } }