From e38b0c2f6836e87e8cebed180d7f6bf2f1dd1fa3 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 07 Mar 2022 17:08:52 +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