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
93c9a3fd
Commit
93c9a3fd
authored
Jun 01, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://git.gicdev.com/haoban3.0/haoban-manage3.0.git
into developer
parents
b679bac6
7a6a47a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
QywxTagApiServiceImpl.java
...anage/service/service/out/impl/QywxTagApiServiceImpl.java
+6
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/QywxTagApiServiceImpl.java
View file @
93c9a3fd
...
...
@@ -42,6 +42,7 @@ import org.springframework.stereotype.Service;
import
org.springframework.util.CollectionUtils
;
import
java.util.*
;
import
java.util.concurrent.TimeUnit
;
import
java.util.stream.Collectors
;
import
static
org
.
slf4j
.
LoggerFactory
.
getLogger
;
...
...
@@ -101,8 +102,6 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
for
(
QywxTagGroupDTO
groupDTO
:
tagGroup
)
{
qywxTagService
.
saveQywxTagByQywxGroupKey
(
wxEnterpriseId
,
groupDTO
);
}
}
@Override
...
...
@@ -551,6 +550,11 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
logger
.
info
(
"不需要操作:{},{}"
,
wxUserId
,
externalUserId
);
return
;
}
try
{
TimeUnit
.
MILLISECONDS
.
sleep
(
100L
);
}
catch
(
InterruptedException
e
)
{
logger
.
error
(
"同步标签报错:{}"
,
e
.
getMessage
());
}
QywxResponseDTO
responseDTO
=
qywxUserApiService
.
markTag
(
wxEnterprise
.
getCorpid
(),
config
.
getWxSuiteid
(),
wxUserId
,
externalUserId
,
needSetTags
,
needDelTags
);
logger
.
info
(
"操作返回:{}"
,
JSONObject
.
toJSONString
(
responseDTO
));
if
(
responseDTO
.
getErrcode
()
!=
0
)
{
...
...
@@ -560,7 +564,6 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
return
;
}
});
return
resp
;
}
...
...
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