Commit aaca5b0b authored by lisong's avatar lisong

修改装备导入bug

parent b160b375
...@@ -48,7 +48,9 @@ public class PersonIdentifyAspect { ...@@ -48,7 +48,9 @@ public class PersonIdentifyAspect {
@Before("userDate()") @Before("userDate()")
public void personIdentity(JoinPoint joinPoint) { public void personIdentity(JoinPoint joinPoint) {
if(RequestContext.getToken()!=null){
ReginParams reginParam = JSON.parseObject(redisUtils.get(RedisKey.buildReginKey(RequestContext.getExeUserId(), RequestContext.getToken())).toString(), ReginParams.class); ReginParams reginParam = JSON.parseObject(redisUtils.get(RedisKey.buildReginKey(RequestContext.getExeUserId(), RequestContext.getToken())).toString(), ReginParams.class);
if (reginParam != null) { if (reginParam != null) {
if (reginParam.getPersonIdentity() == null || reginParam.getPersonIdentity().getBizOrgCode() == null) { if (reginParam.getPersonIdentity() == null || reginParam.getPersonIdentity().getBizOrgCode() == null) {
String userId = reginParam.getUserModel().getUserId(); String userId = reginParam.getUserModel().getUserId();
...@@ -65,5 +67,9 @@ public class PersonIdentifyAspect { ...@@ -65,5 +67,9 @@ public class PersonIdentifyAspect {
} }
} }
}
} }
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