记得上下班打卡 | git大法好,push需谨慎

Commit 0a53ccf2 authored by 张国柄's avatar 张国柄

opt;

parent 70c5719f
...@@ -150,25 +150,4 @@ public class AdamUserInfoVo implements java.io.Serializable, Cloneable { ...@@ -150,25 +150,4 @@ public class AdamUserInfoVo implements java.io.Serializable, Cloneable {
} }
return this; return this;
} }
/**
* 社交用户标签处理
*
* @param vos List<AdamTagVo>
* @return String
*/
public String getTagMeForChime(List<AdamTagVo> vos) {
if (null == this.tagMe || this.tagMe.isEmpty()) {
return null;
}
// MME01:音乐人
this.tagMe.parallelStream().forEach(r -> {
List<AdamTagParentVo> tagVos = r.getTagVos();// A|B|C...
tagVos.parallelStream().forEach(rr -> {
vos.add(AdamTagVo.getNew().setVal(rr.getVal()).setDesc(rr.getDesc()));
});
});
return JsonUtils.toJson(vos);
}
} }
...@@ -139,7 +139,7 @@ public class AdamUserInfoServiceImpl implements IAdamUserInfoService { ...@@ -139,7 +139,7 @@ public class AdamUserInfoServiceImpl implements IAdamUserInfoService {
chimeRegisterRstFlg = feignAdamChimeClient.registerForUser( chimeRegisterRstFlg = feignAdamChimeClient.registerForUser(
userInfoVo.getUid(), userInfoVo.getUid(),
sexStr, sexStr,
userInfoVo.getTagMeForChime(ObjectUtil.getAdamTagVoArrayList()), JsonUtils.toJson(tagMe),
syncChimeRegisterFlg ? "CREATE" : "UPDATE"); syncChimeRegisterFlg ? "CREATE" : "UPDATE");
} catch (Exception e) { } catch (Exception e) {
log.error("同步`chime`用户标签信息异常", e); log.error("同步`chime`用户标签信息异常", e);
......
public class TestAdam {
public static void main(String[] args) {
}
}
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