|
|
@@ -444,12 +444,7 @@ public class CorpEventActionServiceImpl implements CorpEventActionService {
|
|
|
}
|
|
|
if (corpTag != null) {
|
|
|
List<String> tagId = List.of(corpTag.getTagId());
|
|
|
- followedUsers.forEach(follow -> {
|
|
|
- try {
|
|
|
- wxCorpOps.markTag(corpUserInfo.getExternalUserId(), follow.getUserId(), tagId.toArray(new String[tagId.size()]), null);
|
|
|
- } catch (Exception e) {
|
|
|
- }
|
|
|
- });
|
|
|
+ wxCorpOps.markTag(corpUserInfo.getExternalUserId(), message.getUserId(), tagId.toArray(new String[tagId.size()]), null);
|
|
|
}
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
@@ -499,6 +494,11 @@ public class CorpEventActionServiceImpl implements CorpEventActionService {
|
|
|
corpTag.setGroupName(tagGroup.getGroupName());
|
|
|
corpTag.setType(1);
|
|
|
|
|
|
+ CorpTagGroup corpTagGroup = new CorpTagGroup();
|
|
|
+ corpTagGroup.setGroupId(tagGroup.getGroupId());
|
|
|
+ corpTagGroup.setGroupName(tagGroup.getGroupName());
|
|
|
+ corpTagGroupMapper.insert(corpTagGroup);
|
|
|
+
|
|
|
corpTag.setTagId(save_tag.getId());
|
|
|
corpTag.setName(save_tag.getName());
|
|
|
corpTagMapper.insert(corpTag);
|