|
|
|
@@ -39,6 +39,7 @@ import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.util.StopWatch; |
|
|
|
import org.springframework.web.multipart.MultipartFile; |
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
|
|
@@ -582,8 +583,9 @@ public class WxCUserBasicInfoServiceImpl implements WxCUserBasicInfoService { |
|
|
|
String tagNames = userBase.getTagNames(); |
|
|
|
List<Long> tagIdList = new ArrayList<>(); |
|
|
|
for (String tagName : tagNames.split("/")) { |
|
|
|
WxTags wxTags = wxTagsMapper.getByName(tagName); |
|
|
|
if (wxTags != null) { |
|
|
|
List<WxTags> wxTagsList = wxTagsMapper.getByName(tagName); |
|
|
|
if (wxTagsList.size()==1) { |
|
|
|
WxTags wxTags = wxTagsList.get(0); |
|
|
|
tagIdList.add(Long.valueOf(wxTags.getId())); |
|
|
|
} |
|
|
|
} |
|
|
|
|