|
|
@@ -1236,10 +1236,13 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService,IExc |
|
|
if (null != userIds ) { |
|
|
if (null != userIds ) { |
|
|
WxCUserTags tq = new WxCUserTags(); |
|
|
WxCUserTags tq = new WxCUserTags(); |
|
|
tq.setUserIds(userIds); |
|
|
tq.setUserIds(userIds); |
|
|
Map<Long,String> userTagsMap = wxCUserTagsMapper.findUserTagsMap(tq); |
|
|
|
|
|
if (null != userTagsMap) { |
|
|
|
|
|
|
|
|
List<WxCUserTags> userTagList = wxCUserTagsMapper.findList(tq); |
|
|
|
|
|
if (null != userTagList) { |
|
|
List<WxTags> tagList = wxTagsMapper.findListAll(); |
|
|
List<WxTags> tagList = wxTagsMapper.findListAll(); |
|
|
Map<Long, String> tagMap = tagList.stream().collect(Collectors.toMap(WxTags::getId, WxTags::getName)); |
|
|
Map<Long, String> tagMap = tagList.stream().collect(Collectors.toMap(WxTags::getId, WxTags::getName)); |
|
|
|
|
|
|
|
|
|
|
|
Map<Long,String> userTagsMap = userTagList.stream().collect(Collectors.toMap(WxCUserTags::getUserId, WxCUserTags::getTags)); |
|
|
|
|
|
|
|
|
list.stream().forEach(u->{ |
|
|
list.stream().forEach(u->{ |
|
|
List<Long> ids = JSONObject.parseArray(userTagsMap.get(u.getId()), Long.class); |
|
|
List<Long> ids = JSONObject.parseArray(userTagsMap.get(u.getId()), Long.class); |
|
|
if (null != ids) { |
|
|
if (null != ids) { |
|
|
|