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
50cf0193
Commit
50cf0193
authored
Sep 28, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步通讯录优化
parent
24881d29
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
DealSyncOperationApiServiceImpl.java
...ice/service/out/impl/DealSyncOperationApiServiceImpl.java
+2
-0
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/DealSyncOperationApiServiceImpl.java
View file @
50cf0193
...
@@ -937,6 +937,8 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
...
@@ -937,6 +937,8 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
this
.
unlockTask
(
wxEnterpriseId
)
;
this
.
unlockTask
(
wxEnterpriseId
)
;
this
.
cleanDiffrence
(
wxEnterpriseId
,
taskId
);
this
.
cleanDiffrence
(
wxEnterpriseId
,
taskId
);
logger
.
info
(
"同步通讯录完成"
);
logger
.
info
(
"同步通讯录完成"
);
String
conectkey
=
"get_follow_user_list:"
+
wxEnterpriseId
;
RedisUtil
.
delCache
(
conectkey
)
;
RedisUtil
.
unlock
(
key
);
RedisUtil
.
unlock
(
key
);
}
}
return
true
;
return
true
;
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
50cf0193
...
@@ -393,7 +393,7 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -393,7 +393,7 @@ public class StaffApiServiceImpl implements StaffApiService {
wxUserIdsList
=
qywxUserApiService
.
listCorpExternalUser
(
qwDTO
.
getThirdCorpid
(),
config
.
getWxSuiteid
());
wxUserIdsList
=
qywxUserApiService
.
listCorpExternalUser
(
qwDTO
.
getThirdCorpid
(),
config
.
getWxSuiteid
());
}
}
if
(
isSyncDepart
)
{
if
(
isSyncDepart
)
{
RedisUtil
.
setCache
(
key
,
wxUserIdsList
);
RedisUtil
.
setCache
(
key
,
wxUserIdsList
,
60
*
60L
);
}
}
}
}
if
(
CollUtil
.
isNotEmpty
(
wxUserIdsList
)
&&
wxUserIdsList
.
contains
(
userId
))
{
if
(
CollUtil
.
isNotEmpty
(
wxUserIdsList
)
&&
wxUserIdsList
.
contains
(
userId
))
{
...
...
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