Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-cloud
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-hook
gic-cloud
Commits
d84b1a68
Commit
d84b1a68
authored
Apr 10, 2023
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 下载中也是等待中
parent
fffca064
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
DownloadTaskServiceImpl.java
...cloud/data/hook/service/impl/DownloadTaskServiceImpl.java
+4
-0
No files found.
gic-cloud-data-hook-service/src/main/java/com/gic/cloud/data/hook/service/impl/DownloadTaskServiceImpl.java
View file @
d84b1a68
...
@@ -104,6 +104,10 @@ public class DownloadTaskServiceImpl implements IDownloadTaskService {
...
@@ -104,6 +104,10 @@ public class DownloadTaskServiceImpl implements IDownloadTaskService {
if
(
CollectionUtils
.
isNotEmpty
(
result
.
getList
()))
{
if
(
CollectionUtils
.
isNotEmpty
(
result
.
getList
()))
{
for
(
DownloadTask
downloadTask
:
result
.
getList
())
{
for
(
DownloadTask
downloadTask
:
result
.
getList
())
{
//下载中也是等待中 用于前端展示
if
(
downloadTask
.
getStatus
().
equals
(
DownloadTaskStatus
.
DOWNLOAD_HDFS
)){
downloadTask
.
setStatus
(
DownloadTaskStatus
.
WAITING
);
}
if
(
StringUtils
.
isBlank
(
downloadTask
.
getFilePath
()))
{
if
(
StringUtils
.
isBlank
(
downloadTask
.
getFilePath
()))
{
continue
;
continue
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment