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

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

~opt;

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