From b431c00a3e736e27599cd34793c65369fdb7b8cd Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Thu, 04 Jan 2024 15:50:50 +0800
Subject: [PATCH] 模拟成绩查询修改
---
src/main/java/org/springblade/modules/location/controller/LiveLocationController.java | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/java/org/springblade/modules/location/controller/LiveLocationController.java b/src/main/java/org/springblade/modules/location/controller/LiveLocationController.java
index ed464e9..543a4a6 100644
--- a/src/main/java/org/springblade/modules/location/controller/LiveLocationController.java
+++ b/src/main/java/org/springblade/modules/location/controller/LiveLocationController.java
@@ -90,7 +90,7 @@
"'" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(liveLocation.getRecordTime()) + "'" + "," +
"'" + liveLocation.getLocation() + "'" + ")";
//FtpUtil.sqlFileUpload(s1);
- myAsyncService.FTP(s1);
+ myAsyncService.dataSync(s1);
}
} else {
//更新
@@ -109,7 +109,7 @@
",location = " + "'" + liveLocation.getLocation() + "'" +
" " + "where id = " + "'" + liveLocation.getId() + "'";
//FtpUtil.sqlFileUpload(s1);
- myAsyncService.FTP(s1);
+ myAsyncService.dataSync(s1);
}
}
@@ -138,7 +138,7 @@
"'" + locus.getLongitude() + "'" + "," +
"'" + locus.getLatitude() + "'" + ")";
//FtpUtil.sqlFileUpload(s2);
- myAsyncService.FTP(s2);
+ myAsyncService.dataSync(s2);
if (save1) {
//返回数据
@@ -184,7 +184,7 @@
"'" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(liveLocation.getRecordTime()) + "'" + "," +
"'" + liveLocation.getLocation() + "'" + ")";
//FtpUtil.sqlFileUpload(s1);
- myAsyncService.FTP(s1);
+ myAsyncService.dataSync(s1);
}
} else {
//更新
@@ -203,7 +203,7 @@
",location = " + "'" + liveLocation.getLocation() + "'" +
" " + "where id = " + "'" + liveLocation.getId() + "'";
//FtpUtil.sqlFileUpload(s1);
- myAsyncService.FTP(s1);
+ myAsyncService.dataSync(s1);
}
}
@@ -231,7 +231,7 @@
"'" + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(locus.getRecordTime()) + "'" + "," +
"'" + locus.getLongitude() + "'" + "," +
"'" + locus.getLatitude() + "'" + ")";
- myAsyncService.FTP(s2);
+ myAsyncService.dataSync(s2);
//FtpUtil.sqlFileUpload(s2);
if (save1) {
--
Gitblit v1.9.3