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
5edf965a
Commit
5edf965a
authored
May 11, 2022
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
队列处理逻辑变更
parent
ad563ba5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
FlatQueryResultServiceImpl.java
...ud/data/hook/service/impl/FlatQueryResultServiceImpl.java
+3
-1
No files found.
gic-cloud-data-hook-service/src/main/java/com/gic/cloud/data/hook/service/impl/FlatQueryResultServiceImpl.java
View file @
5edf965a
...
...
@@ -576,8 +576,8 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
providerLocalTag
.
traceId
=
UUID
.
randomUUID
().
toString
();
try
{
if
(
taskConditions
!=
null
&&
taskConditions
.
size
()
>
0
)
{
FlatQueryTaskCondition
condition
=
null
;
//FlatQueryTaskCondition condition = taskConditions.remove(0); // 移除并获取第一个任务条件
logger
.
info
(
"总数:{}"
,
taskConditions
.
size
());
for
(
int
i
=
0
;
i
<
taskConditions
.
size
();
i
++
)
{
logger
.
info
(
"[ 自助指标当前正在执行的任务为:]:{}"
,
JSON
.
toJSONString
(
taskConditions
.
get
(
i
)));
if
(
taskConditions
.
get
(
i
).
getBuildPermitted
().
equals
(
Global
.
YES
)
...
...
@@ -600,6 +600,8 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
logger
.
info
(
"加入相应队列-小数据队列:{}"
,
JSONObject
.
toJSONString
(
taskConditions
.
get
(
i
)));
smallConditions
.
add
(
taskConditions
.
get
(
i
));
taskConditions
.
remove
(
i
);
}
else
{
logger
.
info
(
"没有相应add"
);
}
}
// IF OVER
}
// FOR OVER
...
...
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