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
3a67b6ea
Commit
3a67b6ea
authored
Nov 12, 2021
by
xugaojun
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
6cf0e325
aef18042
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
DealSyncOperationApiServiceImpl.java
...ice/service/out/impl/DealSyncOperationApiServiceImpl.java
+8
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/DealSyncOperationApiServiceImpl.java
View file @
3a67b6ea
...
...
@@ -447,10 +447,17 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
syncCheckDTO
.
setSyncStatus
(
syncTask
.
getStatusFlag
());
PreDealLogInfoDTO
dealLogInfoDTO
=
preDealService
.
getLastPreDataByTaskId
(
taskId
);
if
(
dealLogInfoDTO
==
null
)
{
RedisUtil
.
delCache
(
sKey
);
return
syncCheckDTO
;
}
//30分钟内没执行就重试 并在一天内
Date
date
=
DateUtils
.
addMinutes
(
new
Date
(),
-
30
);
Date
dayDate
=
DateUtils
.
addDays
(
new
Date
(),
-
1
);
if
(
dealLogInfoDTO
.
getUpdateTime
().
before
(
date
)
if
(
dealLogInfoDTO
!=
null
&&
dealLogInfoDTO
.
getUpdateTime
()
!=
null
&&
dealLogInfoDTO
.
getCreateTime
()
!=
null
&&
dealLogInfoDTO
.
getUpdateTime
().
before
(
date
)
&&
syncTask
.
getUpdateTime
().
before
(
date
)
&&
syncTask
.
getCreateTime
().
after
(
dayDate
))
{
logger
.
info
(
"重试:{}"
,
taskId
);
...
...
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