From dd2f57f16f8c295cca68d156d4e14400e42a2564 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 25 Feb 2022 15:35:27 +0800
Subject: [PATCH] 通知公告,考试成绩查询,心理咨询,培训报名列表查询修改,新增按辖区查询
---
src/main/java/org/springblade/modules/system/service/MyAsyncService.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/system/service/MyAsyncService.java b/src/main/java/org/springblade/modules/system/service/MyAsyncService.java
index 8020619..af9b3e5 100644
--- a/src/main/java/org/springblade/modules/system/service/MyAsyncService.java
+++ b/src/main/java/org/springblade/modules/system/service/MyAsyncService.java
@@ -2,6 +2,7 @@
import net.sf.json.JSONObject;
import org.springblade.common.utils.HttpClientUtils;
+import org.springblade.modules.FTP.FtpUtil;
import org.springblade.modules.system.dto.UserDTO;
import org.springblade.modules.system.entity.User;
import org.springframework.scheduling.annotation.Async;
@@ -100,4 +101,13 @@
e.printStackTrace();
}
}
+
+ /**
+ * FTP
+ * @param s sql语句
+ */
+ @Async
+ public void FTP(String s) {
+ FtpUtil.sqlFileUpload(s);
+ }
}
--
Gitblit v1.9.3