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
8a854a17
Commit
8a854a17
authored
Aug 11, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员标签同步-traceId
parent
311cacb2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
QywxTagApiServiceImpl.java
...anage/service/service/out/impl/QywxTagApiServiceImpl.java
+3
-4
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/QywxTagApiServiceImpl.java
View file @
8a854a17
...
...
@@ -885,7 +885,7 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
ret
.
put
(
"描述"
,
"标签数据库不存在:"
+
relation
.
getTagItemId
());
return
ret
;
}
ret
.
put
(
"
标签
名称"
,
tabQywxTag
.
getQywxGroupName
());
ret
.
put
(
"名称"
,
tabQywxTag
.
getQywxGroupName
());
List
<
String
>
ids
=
new
ArrayList
<>();
ids
.
add
(
tabQywxTag
.
getQywxGroupKey
());
...
...
@@ -921,7 +921,6 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
Map
<
String
,
QywxTagDTO
>
qywxTagDTOMap
=
tagItems
.
stream
().
collect
(
Collectors
.
toMap
(
dto
->
dto
.
getId
(),
dto
->
dto
));
Set
<
String
>
qywxKeysSet
=
qywxTagDTOMap
.
keySet
();
//在gic存在 企业微信不存在
Sets
.
SetView
<
String
>
qywxUnHaves
=
Sets
.
difference
(
gicQywxKeysSet
,
qywxKeysSet
);
//企业微信存在 gic不存在
...
...
@@ -930,12 +929,12 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
//企业微信缺少
if
(!
CollectionUtils
.
isEmpty
(
qywxUnHaves
))
{
flag
=
true
;
ret
.
put
(
"
企微缺少标签项
"
,
qywxUnHaves
.
stream
().
map
(
mid
->
gicQywxTagNameMap
.
get
(
mid
)).
collect
(
Collectors
.
joining
(
", "
,
""
,
""
)));
ret
.
put
(
"
标签项缺少(企微)
"
,
qywxUnHaves
.
stream
().
map
(
mid
->
gicQywxTagNameMap
.
get
(
mid
)).
collect
(
Collectors
.
joining
(
", "
,
""
,
""
)));
}
//gic缺少
if
(!
CollectionUtils
.
isEmpty
(
gicUnHaves
))
{
flag
=
true
;
ret
.
put
(
"
gic缺少标签项
"
,
gicUnHaves
.
stream
().
map
(
id
->
qywxTagDTOMap
.
get
(
id
).
getName
()).
collect
(
Collectors
.
joining
(
","
,
""
,
""
)));
ret
.
put
(
"
标签项缺少(gic)
"
,
gicUnHaves
.
stream
().
map
(
id
->
qywxTagDTOMap
.
get
(
id
).
getName
()).
collect
(
Collectors
.
joining
(
","
,
""
,
""
)));
}
if
(
flag
)
{
...
...
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