From 138cac5008689fadaa96ecac116a2297bb69bc1c Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 04 Mar 2022 10:45:40 +0800
Subject: [PATCH] 1. 电子围栏基本接口新增 2. 保安员证核查申请记录基本接口新增,审批,批量审批接口编写 3. 保安员证档案库新增字段 source 来源,保安员证生成修改

---
 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