From 82b584c88acb4abc3f46bddd9c7b74d116e71aa1 Mon Sep 17 00:00:00 2001
From: cwchen <1048842385@qq.com>
Date: Tue, 8 Apr 2025 18:02:39 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=8B=E7=BC=A9=E4=B8=8B=E8=BD=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../resources/mappers/backstage/SynthesisQueryMapper.xml | 6 +++---
src/main/resources/mappers/system/DownloadTaskMapper.xml | 2 +-
.../resources/static/pages/synthesisQuery/fileDownload.html | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/mappers/backstage/SynthesisQueryMapper.xml b/src/main/resources/mappers/backstage/SynthesisQueryMapper.xml
index f3a9418..e9d06a7 100644
--- a/src/main/resources/mappers/backstage/SynthesisQueryMapper.xml
+++ b/src/main/resources/mappers/backstage/SynthesisQueryMapper.xml
@@ -74,11 +74,11 @@
insert into tb_download_task
task_id,
- temp_file_path,
+ temp_file_path,
#{taskId},
- #{tempPath},
+ #{tempFilePath},
@@ -544,6 +544,6 @@
- UPDATE tb_download_task SET file_path = #{params.filePath},failure_time = #{nowTime} WHERE id = #{id}
+ UPDATE tb_download_task SET file_path = #{params.filePath},failure_time = #{nowTime} WHERE id = #{params.id}
diff --git a/src/main/resources/mappers/system/DownloadTaskMapper.xml b/src/main/resources/mappers/system/DownloadTaskMapper.xml
index 735fbb4..f9caa41 100644
--- a/src/main/resources/mappers/system/DownloadTaskMapper.xml
+++ b/src/main/resources/mappers/system/DownloadTaskMapper.xml
@@ -23,6 +23,6 @@
task_id AS taskId,
temp_file_path AS filePath
FROM tb_download_task
- WHERE is_delete = '1' AND TIMESTAMPDIFF(HOUR, create_time, NOW()) > 6
+ WHERE is_delete = '1' AND TIMESTAMPDIFF(HOUR, create_time, NOW()) > 6 AND failure_time IS NULL
\ No newline at end of file
diff --git a/src/main/resources/static/pages/synthesisQuery/fileDownload.html b/src/main/resources/static/pages/synthesisQuery/fileDownload.html
index 41c86c8..d849477 100644
--- a/src/main/resources/static/pages/synthesisQuery/fileDownload.html
+++ b/src/main/resources/static/pages/synthesisQuery/fileDownload.html
@@ -54,7 +54,7 @@
}
.notification {
position: fixed;
- bottom: 70%;
+ bottom: 66%;
right: 55%;
padding: 15px;
background-color: #4CAF50;
@@ -69,7 +69,7 @@
提示:请勿关闭浏览器和浏览器窗口!!!
-点击下方按钮下载所有照
+点击下方按钮下载所有照片