From eb14311f12b03350adf2ce0826f0b2f9754c8dc2 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Fri, 26 Apr 2024 16:11:55 +0800
Subject: [PATCH] 到期时间修改

---
 src/main/java/org/springblade/modules/exam/service/impl/ScoreAuditRecordsServiceImpl.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/springblade/modules/exam/service/impl/ScoreAuditRecordsServiceImpl.java b/src/main/java/org/springblade/modules/exam/service/impl/ScoreAuditRecordsServiceImpl.java
index 1184f99..5c551f1 100644
--- a/src/main/java/org/springblade/modules/exam/service/impl/ScoreAuditRecordsServiceImpl.java
+++ b/src/main/java/org/springblade/modules/exam/service/impl/ScoreAuditRecordsServiceImpl.java
@@ -150,7 +150,7 @@
 					"update blade_user set is_train = " + "'" +  user.getIsTrain() + "'" +
 						" " + "where id = " + "'" + user.getId() + "'";
 				//FtpUtil.sqlFileUpload(s1);
-				myAsyncService.FTP(s1);
+				myAsyncService.dataSync(s1);
 			} else {
 				//实操成绩不为空
 				if (examScore.getTheoryGrade() >= 60 && examScore.getLearnGrade() >= 60) {
@@ -204,7 +204,7 @@
 								+ "," + "'" + securityPaper.getApplyId() + "'"
 								+ "," +"'" + securityPaper.getExamId() + "'" + ")";
 						//FtpUtil.sqlFileUpload(s1);
-						myAsyncService.FTP(s1);
+						myAsyncService.dataSync(s1);
 					}
 				} else {
 					//不合格
@@ -245,7 +245,7 @@
 						",is_train = " + "'" + user.getIsTrain() + "'" +
 						" " + "where id = " + "'" + user.getId() + "'";
 				//FtpUtil.sqlFileUpload(s1);
-				myAsyncService.FTP(s1);
+				myAsyncService.dataSync(s1);
 			}
 		}
 		//审核时间
@@ -320,7 +320,7 @@
 						"update blade_user set is_train = " + "'" +  user.getIsTrain() + "'" +
 							" " + "where id = " + "'" + user.getId() + "'";
 					//FtpUtil.sqlFileUpload(s1);
-					myAsyncService.FTP(s1);
+					myAsyncService.dataSync(s1);
 				} else {
 					//实操成绩不为空
 					if (examScore.getTheoryGrade() >= 60 && examScore.getLearnGrade() >= 60) {
@@ -409,7 +409,7 @@
 							",is_train = " + "'" + user.getIsTrain() + "'" +
 							" " + "where id = " + "'" + user.getId() + "'";
 					//FtpUtil.sqlFileUpload(s1);
-					myAsyncService.FTP(s1);
+					myAsyncService.dataSync(s1);
 				}
 			}
 			//审核时间

--
Gitblit v1.9.3