From eddbe49f2d54ba6fb0a5548fe4efe7f12c83acfa Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Tue, 25 Jan 2022 10:44:29 +0800
Subject: [PATCH] 问题修复

---
 src/main/java/org/springblade/modules/survey/controller/SurveyController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/survey/controller/SurveyController.java b/src/main/java/org/springblade/modules/survey/controller/SurveyController.java
index 73ac513..03edbf3 100644
--- a/src/main/java/org/springblade/modules/survey/controller/SurveyController.java
+++ b/src/main/java/org/springblade/modules/survey/controller/SurveyController.java
@@ -188,7 +188,7 @@
 		String address= "localhost:80/"+fileName;
 		//文件新增
 		Wj wj = new Wj();
-		wj.setSid(sid);
+		wj.setSid(Integer.parseInt(sid));
 		wj.setAddress(address);
 		iWjService.insertsurvey(wj);
 		map.put("id", wj.getId());

--
Gitblit v1.9.3