From c98efe28616d73a741463d7f802895a9b32e447c Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Thu, 24 Oct 2024 10:22:55 +0800
Subject: [PATCH] 无token时设置 tenantId

---
 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