From 1ad510e0e7b57a533e70875d95b1da4f392d1b1e Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 04 Mar 2022 17:37:03 +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