From f4e8dac0d95a72995e84d85ebe510abb6295f0c1 Mon Sep 17 00:00:00 2001
From: 钟日健 <arsn163@163.com>
Date: Tue, 19 May 2026 23:22:31 +0800
Subject: [PATCH] fix: 100 道题查最后一道
---
src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java b/src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java
index d5798f7..5e91913 100644
--- a/src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java
+++ b/src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java
@@ -232,7 +232,7 @@
list.forEach(id -> {
AccreditationRecords records = new AccreditationRecords();
records.setStatus(2);
- records.setId(id);
+ records.setId(Long.parseLong(id));
//更新
this.updateById(records);
--
Gitblit v1.9.3