From be38921cb7b2807e5e35c983940ee02d83df493b Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Wed, 27 Dec 2023 09:53:09 +0800
Subject: [PATCH] 制证时间批量导入
---
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 5e91913..d5798f7 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(Long.parseLong(id));
+ records.setId(id);
//更新
this.updateById(records);
--
Gitblit v1.9.3