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

Commit 63a2d971 authored by 张国柄's avatar 张国柄

~opt;

parent eb2adde1
......@@ -527,10 +527,13 @@ public class AdamRdmService {
long s = System.currentTimeMillis();
AdamMemberSimpleVo vo = (AdamMemberSimpleVo) redisUtil.get(AdamRedisConst.INFO_MEMBER_SIMPLE);
if (null == vo) {
vo = AdamMemberSimpleVo.getNew().copy(this.getMemberVoByMemberId("1"));
AdamMemberVo memberVo = this.getMemberVoByMemberId("1");
if (null != memberVo) {
vo = AdamMemberSimpleVo.getNew().copy(memberVo);
if (null != vo) redisUtil.set(AdamRedisConst.INFO_MEMBER_SIMPLE, vo);
}
}
log.debug("#RDM耗时:{}ms", System.currentTimeMillis() - s);
return vo;
}
......
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