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
35544b69
Commit
35544b69
authored
May 13, 2022
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加字段数量信息
parent
a3cbf249
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletions
+14
-1
DownloadTask.java
...in/java/com/gic/cloud/data/hook/api/dto/DownloadTask.java
+10
-0
FlatQueryResultServiceImpl.java
...ud/data/hook/service/impl/FlatQueryResultServiceImpl.java
+2
-0
DownloadTaskDao.xml
...ook-service/src/main/resources/mapper/DownloadTaskDao.xml
+2
-1
No files found.
gic-cloud-data-hook-api/src/main/java/com/gic/cloud/data/hook/api/dto/DownloadTask.java
View file @
35544b69
...
@@ -386,4 +386,14 @@ public class DownloadTask implements Serializable {
...
@@ -386,4 +386,14 @@ public class DownloadTask implements Serializable {
public
void
setDownloadWay
(
Integer
downloadWay
)
{
public
void
setDownloadWay
(
Integer
downloadWay
)
{
this
.
downloadWay
=
downloadWay
;
this
.
downloadWay
=
downloadWay
;
}
}
private
Integer
fieldSize
;
public
Integer
getFieldSize
()
{
return
fieldSize
;
}
public
void
setFieldSize
(
Integer
fieldSize
)
{
this
.
fieldSize
=
fieldSize
;
}
}
}
gic-cloud-data-hook-service/src/main/java/com/gic/cloud/data/hook/service/impl/FlatQueryResultServiceImpl.java
View file @
35544b69
...
@@ -782,6 +782,8 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
...
@@ -782,6 +782,8 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
task
.
setStatus
(
DownloadTaskStatus
.
BUILDING
);
task
.
setStatus
(
DownloadTaskStatus
.
BUILDING
);
task
.
setDownloadWay
(
downloadType
);
task
.
setDownloadWay
(
downloadType
);
task
.
setDownloadTime
(
new
Date
());
task
.
setDownloadTime
(
new
Date
());
task
.
setFieldSize
(
condition
.
getAllFields
().
size
());
DownloadTaskServiceImpl
.
getInstance
().
updateDownloadTask
(
task
);
DownloadTaskServiceImpl
.
getInstance
().
updateDownloadTask
(
task
);
logger
.
info
(
"[ runDownloadTask.run ]: {}"
,
"自助指标下载任务执行:"
+
task
.
getId
());
logger
.
info
(
"[ runDownloadTask.run ]: {}"
,
"自助指标下载任务执行:"
+
task
.
getId
());
...
...
gic-cloud-data-hook-service/src/main/resources/mapper/DownloadTaskDao.xml
View file @
35544b69
...
@@ -154,7 +154,8 @@
...
@@ -154,7 +154,8 @@
enterprise_id = #{enterpriseId},
enterprise_id = #{enterpriseId},
report_id = #{reportId},
report_id = #{reportId},
download_time = #{downloadTime},
download_time = #{downloadTime},
download_way = #{downloadWay}
download_way = #{downloadWay},
field_size = #{fieldSize}
WHERE
WHERE
id = #{id}
id = #{id}
</update>
</update>
...
...
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