From 8af5cbba57b8475715864096de8ce5fb29775afc Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Fri, 27 Aug 2021 15:46:53 +0800
Subject: [PATCH] 1.许可审批

---
 src/main/java/org/springblade/modules/resource/endpoint/OssEndpoint.java |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/springblade/modules/resource/endpoint/OssEndpoint.java b/src/main/java/org/springblade/modules/resource/endpoint/OssEndpoint.java
index 39a45b1..cdadc8a 100644
--- a/src/main/java/org/springblade/modules/resource/endpoint/OssEndpoint.java
+++ b/src/main/java/org/springblade/modules/resource/endpoint/OssEndpoint.java
@@ -407,7 +407,7 @@
 		} else {
 			s1 += ") " +
 				"values(" + "'" + attach.getId() + "'" + "," +
-				"'" + attach.getTenantId() + "'" + "," +
+				"'" + 000000 + "'" + "," +
 				"'" + imgurl + "'" + "," +
 				"'" + ip + "'" + "," +
 				"'" + split[2] + "'" + "," +
@@ -426,9 +426,8 @@
 		}
 		if (noticeId != null) {
 			s1 += "'" + noticeId + "'" + ")";
-		}
-		else {
-			s1+=")";
+		} else {
+			s1 += ")";
 		}
 		FtpUtil.sqlFileUpload(s1);
 		return attach.getId();

--
Gitblit v1.9.3