From 8853292babb2ad94de4a3207966f1e83b767cd2d Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Sun, 17 Sep 2023 16:38:34 +0800
Subject: [PATCH] 新增流程节点进程查询接口

---
 src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java b/src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java
index a26abff..5e91913 100644
--- a/src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java
+++ b/src/main/java/org/springblade/modules/accreditation/service/impl/AccreditationRecordsServiceImpl.java
@@ -4,6 +4,7 @@
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import lombok.AllArgsConstructor;
+import org.springblade.common.config.QrcodeConfig;
 import org.springblade.common.utils.QRCodeUtil;
 import org.springblade.modules.FTP.FtpUtil;
 import org.springblade.modules.accreditation.excel.ExportSecurityBookPaperExcel;
@@ -85,7 +86,7 @@
 						+ "'" + records.getType() + "'" + ","
 						+ "'" + records.getAuditStatus() + "'" + ")";
 					//FtpUtil.sqlFileUpload(s);
-					myAsyncService.FTP(s);
+					myAsyncService.dataSync(s);
 				}
 			}
 			//判断类型,如果是证书的,审核未通过的可以再次申请,审核通过的,暂时不给于新增记录
@@ -106,7 +107,7 @@
 						+ "'" + records.getType() + "'" + ","
 						+ "'" + records.getAuditStatus() + "'" + ")";
 					//FtpUtil.sqlFileUpload(s);
-					myAsyncService.FTP(s);
+					myAsyncService.dataSync(s);
 				}
 			}
 
@@ -173,7 +174,7 @@
 				//如果保安证编号不为空
 				if (null != accreditationRecordsVo.getSecurityNumber() && accreditationRecordsVo.getSecurityNumber() != "") {
 					//去生成二维码
-					String url = "http://61.131.136.25:2080/securityInfo.html";
+					String url = QrcodeConfig.baseUrl + "securityInfo.html";
 					String encoded = null;
 					try {
 						encoded = URLEncoder.encode(accreditationRecordsVo.getSecurityNumber(), "UTF-8");
@@ -240,7 +241,7 @@
 				"update sys_accreditation_records set status = " + accreditationRecords.getStatus() + "" +
 					"where id = " + "'" + accreditationRecords.getId() + "'";
 			//FtpUtil.sqlFileUpload(s);
-			myAsyncService.FTP(s);
+			myAsyncService.dataSync(s);
 		});
 		return true;
 	}

--
Gitblit v1.9.3