|
|
|
@@ -153,7 +153,6 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService { |
|
|
|
List<WxTags> tagList = wxTagsMapper.findListAll(); |
|
|
|
Map<Long, String> tagMap = tagList.stream().collect(Collectors.toMap(WxTags::getId, WxTags::getName)); |
|
|
|
list.stream().filter(u->u.getTags()!=null).forEach(u->{ |
|
|
|
logger.debug("$$$$$ID:" + u.getId().toString()); |
|
|
|
List<Long> ids = JSONObject.parseArray(u.getTags(), Long.class); |
|
|
|
String tagNames = StringUtils.join(ids.stream().map(id->tagMap.get(id)).collect(Collectors.toList()),"/"); |
|
|
|
u.setTagNames(tagNames); |
|
|
|
|