Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
6f7e2419
Commit
6f7e2419
authored
Jul 22, 2020
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一分钟之内没完成 就重试
parent
24e1ef84
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
DealSyncOperationApiServiceImpl.java
...ice/service/out/impl/DealSyncOperationApiServiceImpl.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/DealSyncOperationApiServiceImpl.java
View file @
6f7e2419
...
@@ -453,7 +453,7 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
...
@@ -453,7 +453,7 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
PreDealLogInfoDTO
dealLogInfoDTO
=
preDealService
.
getLastPreDataByTaskId
(
taskId
);
PreDealLogInfoDTO
dealLogInfoDTO
=
preDealService
.
getLastPreDataByTaskId
(
taskId
);
//一分钟内没执行就重试
//一分钟内没执行就重试
Date
date
=
DateUtils
.
addMinutes
(
new
Date
(),
-
1
);
Date
date
=
DateUtils
.
addMinutes
(
new
Date
(),
-
1
);
if
(
dealLogInfoDTO
.
getUpdateTime
().
before
(
date
))
{
if
(
dealLogInfoDTO
.
getUpdateTime
().
before
(
date
)
&&
syncTask
.
getUpdateTime
().
before
(
date
)
)
{
logger
.
info
(
"重试:{}"
,
taskId
);
logger
.
info
(
"重试:{}"
,
taskId
);
syncTaskService
.
updateTaskStatus
(
taskId
,
SyncTaskStatusEnum
.
exception_close
.
getVal
());
syncTaskService
.
updateTaskStatus
(
taskId
,
SyncTaskStatusEnum
.
exception_close
.
getVal
());
reDealDepartment
(
taskId
,-
1
);
reDealDepartment
(
taskId
,-
1
);
...
...
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