Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jz-dmp-service
Project
Project
Details
Activity
Releases
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
姚本章
jz-dmp-service
Commits
c2c9156e
Commit
c2c9156e
authored
Mar 14, 2021
by
mcb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
daedaa9c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
DmpRealtimeSyncInfoServiceImpl.java
.../modules/service/impl/DmpRealtimeSyncInfoServiceImpl.java
+1
-7
No files found.
src/main/java/com/jz/dmp/modules/service/impl/DmpRealtimeSyncInfoServiceImpl.java
View file @
c2c9156e
...
@@ -1056,12 +1056,6 @@ public class DmpRealtimeSyncInfoServiceImpl implements DmpRealtimeSyncInfoServic
...
@@ -1056,12 +1056,6 @@ public class DmpRealtimeSyncInfoServiceImpl implements DmpRealtimeSyncInfoServic
}
}
Map
map
=
JSONObject
.
parseObject
(
respData
);
Map
map
=
JSONObject
.
parseObject
(
respData
);
/*List<Map> tasks = (List<Map>) map.get("tasks");
if (tasks.size() > 0 && null != tasks) {
String tasksStatus = (String) tasks.get(0).get("state");
logger.info("response tasks status{}" + tasksStatus);
return tasksStatus;
}*/
Map
connector
=
(
Map
)
map
.
get
(
"connector"
);
Map
connector
=
(
Map
)
map
.
get
(
"connector"
);
if
(
null
!=
connector
&&
connector
.
size
()
>
0
)
{
if
(
null
!=
connector
&&
connector
.
size
()
>
0
)
{
if
(!
connector
.
containsKey
(
"state"
))
{
if
(!
connector
.
containsKey
(
"state"
))
{
...
@@ -1071,7 +1065,7 @@ public class DmpRealtimeSyncInfoServiceImpl implements DmpRealtimeSyncInfoServic
...
@@ -1071,7 +1065,7 @@ public class DmpRealtimeSyncInfoServiceImpl implements DmpRealtimeSyncInfoServic
logger
.
info
(
"response connector status{}"
+
status
);
logger
.
info
(
"response connector status{}"
+
status
);
}
}
if
(
StringUtils
.
isNotEmpty
((
String
)
params
.
get
(
"id"
))
&&
StringUtils
.
isEmpty
(
status
)
)
{
if
(
StringUtils
.
isNotEmpty
((
String
)
params
.
get
(
"id"
)))
{
Thread
thread
=
new
Thread
(
new
Runnable
()
{
Thread
thread
=
new
Thread
(
new
Runnable
()
{
@Override
@Override
public
void
run
()
{
public
void
run
()
{
...
...
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