Commit 138644f4 by 徐高华

标签同步

parent 90c57853
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment