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

提示:请勿关闭浏览器和浏览器窗口!!!

-

点击下方按钮下载所有照

+

点击下方按钮下载所有照片