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
7b34a2f3
Commit
7b34a2f3
authored
Jul 07, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:企微同步标签修改
parent
ac952c1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
QywxTagApiServiceImpl.java
...anage/service/service/out/impl/QywxTagApiServiceImpl.java
+2
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/QywxTagApiServiceImpl.java
View file @
7b34a2f3
...
@@ -200,7 +200,6 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
...
@@ -200,7 +200,6 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
QywxTagDTO
qywxTagDTO
=
new
QywxTagDTO
();
QywxTagDTO
qywxTagDTO
=
new
QywxTagDTO
();
qywxTagDTO
.
setName
(
item
.
getQywxTagName
());
qywxTagDTO
.
setName
(
item
.
getQywxTagName
());
qywxTagDTO
.
setOrder
(
item
.
getOrder
());
qywxTagDTO
.
setOrder
(
item
.
getOrder
());
qywxTagDTO
.
setId
(
item
.
getQywxTagKey
());
return
qywxTagDTO
;
return
qywxTagDTO
;
}).
collect
(
Collectors
.
toList
());
}).
collect
(
Collectors
.
toList
());
qywxTagGroupDTO
.
setTag
(
tagItems
);
qywxTagGroupDTO
.
setTag
(
tagItems
);
...
@@ -872,7 +871,7 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
...
@@ -872,7 +871,7 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
ret
.
put
(
"描述"
,
"企业微信标签项空:"
+
tabQywxTag
.
getQywxGroupName
());
ret
.
put
(
"描述"
,
"企业微信标签项空:"
+
tabQywxTag
.
getQywxGroupName
());
return
ret
;
return
ret
;
}
}
Map
<
String
,
QywxTagDTO
>
qywxTagDTOMap
=
tagItems
.
stream
().
filter
(
dto
->
dto
.
isDeleted
()
==
false
).
collect
(
Collectors
.
toMap
(
dto
->
dto
.
getId
(),
dto
->
dto
));
Map
<
String
,
QywxTagDTO
>
qywxTagDTOMap
=
tagItems
.
stream
().
collect
(
Collectors
.
toMap
(
dto
->
dto
.
getId
(),
dto
->
dto
));
Set
<
String
>
qywxKeysSet
=
qywxTagDTOMap
.
keySet
();
Set
<
String
>
qywxKeysSet
=
qywxTagDTOMap
.
keySet
();
//gic没有同步的标签项
//gic没有同步的标签项
...
@@ -885,7 +884,7 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
...
@@ -885,7 +884,7 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
//企业微信存在 gic不存在
//企业微信存在 gic不存在
Sets
.
SetView
<
String
>
gicUnHaves
=
Sets
.
difference
(
qywxKeysSet
,
gicQywxKeysSet
);
Sets
.
SetView
<
String
>
gicUnHaves
=
Sets
.
difference
(
qywxKeysSet
,
gicQywxKeysSet
);
ret
.
put
(
"现企微标签项"
,
tagItems
.
stream
().
filter
(
dto
->
dto
.
isDeleted
()
==
false
).
map
(
dto
->
dto
.
getName
()).
collect
(
Collectors
.
joining
(
"],["
,
"["
,
"]"
)));
ret
.
put
(
"现企微标签项"
,
tagItems
.
stream
().
map
(
dto
->
dto
.
getName
()).
collect
(
Collectors
.
joining
(
"],["
,
"["
,
"]"
)));
ret
.
put
(
"现gic标签项"
,
gicTagItems
.
stream
().
map
(
dto
->
dto
.
getTagItemName
()).
collect
(
Collectors
.
joining
(
"],["
,
"["
,
"]"
)));
ret
.
put
(
"现gic标签项"
,
gicTagItems
.
stream
().
map
(
dto
->
dto
.
getTagItemName
()).
collect
(
Collectors
.
joining
(
"],["
,
"["
,
"]"
)));
//企业微信缺少
//企业微信缺少
...
...
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