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
QianQiXiang
haoban-manage3.0
Commits
ac6b2ba2
Commit
ac6b2ba2
authored
Mar 25, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导购刷新好友超时时间
parent
f75405d6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
FriendSyncNewOperation.java
...an/manage/service/task/friend/FriendSyncNewOperation.java
+1
-1
SelfFriendSyncNewOperation.java
...anage/service/task/friend/SelfFriendSyncNewOperation.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/task/friend/FriendSyncNewOperation.java
View file @
ac6b2ba2
...
@@ -201,7 +201,7 @@ public class FriendSyncNewOperation implements BaseSyncOperation {
...
@@ -201,7 +201,7 @@ public class FriendSyncNewOperation implements BaseSyncOperation {
if
(!
b
)
{
if
(!
b
)
{
return
;
return
;
}
}
logger
.
info
(
"同步第三方服务商好友:{},{}"
,
taskId
,
pDataId
);
logger
.
info
(
"同步第三方服务商好友
结束
:{},{}"
,
taskId
,
pDataId
);
String
key
=
"haoban_sync_third_friend_task_"
+
taskId
;
String
key
=
"haoban_sync_third_friend_task_"
+
taskId
;
RedisUtil
.
lock
(
key
,
3L
);
RedisUtil
.
lock
(
key
,
3L
);
TabHaobanPreDealLog
preDealLog
=
preDealService
.
getByDataId
(
taskId
,
pDataId
,
PreDealTypeEnum
.
friend_clerk
.
getVal
(),
PreDealStatusEnum
.
dealing
.
getVal
());
TabHaobanPreDealLog
preDealLog
=
preDealService
.
getByDataId
(
taskId
,
pDataId
,
PreDealTypeEnum
.
friend_clerk
.
getVal
(),
PreDealStatusEnum
.
dealing
.
getVal
());
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/task/friend/SelfFriendSyncNewOperation.java
View file @
ac6b2ba2
...
@@ -108,7 +108,7 @@ public class SelfFriendSyncNewOperation implements BaseSyncOperation {
...
@@ -108,7 +108,7 @@ public class SelfFriendSyncNewOperation implements BaseSyncOperation {
if
(!
b
)
{
if
(!
b
)
{
return
;
return
;
}
}
logger
.
info
(
"同步第三方服务商好友:{},{}"
,
taskId
,
pDataId
);
logger
.
info
(
"同步第三方服务商好友
开始
:{},{}"
,
taskId
,
pDataId
);
String
key
=
"haoban_sync_self_friend_task_"
+
taskId
+
":"
+
pDataId
;
String
key
=
"haoban_sync_self_friend_task_"
+
taskId
+
":"
+
pDataId
;
String
lockKey
=
"haoban_sync_self_friend_task_lock_"
+
taskId
+
":"
+
pDataId
;
String
lockKey
=
"haoban_sync_self_friend_task_lock_"
+
taskId
+
":"
+
pDataId
;
RedisUtil
.
lock
(
lockKey
,
3L
);
RedisUtil
.
lock
(
lockKey
,
3L
);
...
...
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