Commit a81aa353 by fudahua

Merge branch 'feature-2023-04' into 'developer'

feat: 下载中也是等待中

See merge request !91
parents f805df8f d84b1a68
......@@ -104,6 +104,10 @@ public class DownloadTaskServiceImpl implements IDownloadTaskService {
if (CollectionUtils.isNotEmpty(result.getList())) {
for (DownloadTask downloadTask : result.getList()) {
//下载中也是等待中 用于前端展示
if (downloadTask.getStatus().equals(DownloadTaskStatus.DOWNLOAD_HDFS)){
downloadTask.setStatus(DownloadTaskStatus.WAITING);
}
if (StringUtils.isBlank(downloadTask.getFilePath())) {
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment