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
489f17f7
Commit
489f17f7
authored
Nov 25, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
019a6735
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
FriendMergeSyncOperation.java
.../haoban/manage/service/task/FriendMergeSyncOperation.java
+3
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/task/FriendMergeSyncOperation.java
View file @
489f17f7
...
@@ -77,7 +77,9 @@ public class FriendMergeSyncOperation implements BaseSyncOperation{
...
@@ -77,7 +77,9 @@ public class FriendMergeSyncOperation implements BaseSyncOperation{
}
}
logger
.
info
(
"好友合并成功:{}"
,
taskId
);
logger
.
info
(
"好友合并成功:{}"
,
taskId
);
int
errorCount
=
preDealService
.
countByTaskId
(
taskId
,
PreDealTypeEnum
.
friend_merge
.
getVal
(),
3
);
int
errorCount
=
preDealService
.
countByTaskId
(
taskId
,
PreDealTypeEnum
.
friend_merge
.
getVal
(),
3
);
if
(
errorCount
>
0
){
int
errorSelfCount
=
preDealService
.
countByTaskId
(
taskId
,
PreDealTypeEnum
.
self_friend
.
getVal
(),
3
);
int
errorFriendCount
=
preDealService
.
countByTaskId
(
taskId
,
PreDealTypeEnum
.
friend
.
getVal
(),
3
);
if
(
errorCount
>
0
||
errorFriendCount
>
0
||
errorSelfCount
>
0
){
syncTaskService
.
updateTaskStatus
(
taskId
,
SyncTaskStatusEnum
.
exception_compute
.
getVal
());
syncTaskService
.
updateTaskStatus
(
taskId
,
SyncTaskStatusEnum
.
exception_compute
.
getVal
());
}
else
{
}
else
{
syncTaskService
.
updateTaskStatus
(
taskId
,
SyncTaskStatusEnum
.
compute
.
getVal
());
syncTaskService
.
updateTaskStatus
(
taskId
,
SyncTaskStatusEnum
.
compute
.
getVal
());
...
...
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