Commit 89b90c3b by 王祖波

标签map

parent a7b39750
...@@ -182,7 +182,7 @@ public class GroupChatActivityController { ...@@ -182,7 +182,7 @@ public class GroupChatActivityController {
String id = JSONObject.parseObject(labelJson).getString("id"); String id = JSONObject.parseObject(labelJson).getString("id");
List<MemberLabelVO> memberLabelList = getMemberLabelList(id); List<MemberLabelVO> memberLabelList = getMemberLabelList(id);
if (CollectionUtils.isNotEmpty(memberLabelList)) { if (CollectionUtils.isNotEmpty(memberLabelList)) {
Map<String, MemberLabelVO> labelMap = memberLabelList.stream().collect(Collectors.toMap(MemberLabelVO::getLabelId, v -> v, (e, x) -> e)); Map<String, MemberLabelVO> labelMap = memberLabelList.stream().collect(Collectors.toMap(MemberLabelVO::getLabelValueId, v -> v, (e, x) -> e));
activityVO.setLabelMap(labelMap); activityVO.setLabelMap(labelMap);
} }
} }
......
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