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
138644f4
Commit
138644f4
authored
Oct 07, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标签同步
parent
90c57853
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
QywxTagApiServiceImpl.java
...anage/service/service/out/impl/QywxTagApiServiceImpl.java
+4
-4
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/QywxTagApiServiceImpl.java
View file @
138644f4
...
...
@@ -170,9 +170,9 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
// 更新赋值
infoDTO
.
setQywxGroupKey
(
qwGroupKey
);
// 需要删除的标签值
for
(
TabQywxTagRelation
relation
:
relationList
)
{
/*
for(TabQywxTagRelation relation : relationList) {
String memberItemTagId = relation.getTagItemId() ;
if
(!
memberTagItemIdList
.
contains
(
memberItemTagId
))
{
if(!memberTagItemIdList.contains(memberItemTagId)
&& relation.getRelationType()==1
) {
this.qywxTagRelationMapper.deleteByPrimaryKey(relation.getQywxTagRelationId()) ;
String hbTagItemId = relation.getQywxTagItemId() ;
this.qywxTagService.delQywxTagItemById(wxEnterpriseId,hbTagItemId) ;
...
...
@@ -183,8 +183,8 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
}
}
if(CollectionUtils.isNotEmpty(needDelList)) {
this
.
qywxSuiteApiService
.
delCorpTag
(
qwDTO
.
getThirdCorpid
(),
qwDTO
.
getSelf3thSecret
(),
needDelList
,
1
,
qwDTO
.
isSelf
(),
qwDTO
.
getUrlHost
());
}
this.qywxSuiteApiService.delCorpTag(qwDTO.getThirdCorpid(), qwDTO.getSelf3thSecret(), needDelList, 1, qwDTO.isSelf(),qwDTO.getUrlHost());
}
*/
// 需要添加的标签值
List
<
String
>
existMemberTagIdList
=
relationList
.
stream
().
map
(
o
->
o
.
getTagItemId
()).
collect
(
Collectors
.
toList
());
for
(
QywxTagItemDTO
memberTag
:
items
)
{
...
...
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