Commit b0fbece8 authored by 唐峰's avatar 唐峰

proxy error

parent d833f0fb
...@@ -33,7 +33,7 @@ public class SessionValue { ...@@ -33,7 +33,7 @@ public class SessionValue {
return null; return null;
} }
IUserRepository userRepository = SpringUtil.getBean(IUserRepository.class); IUserRepository userRepository = SpringUtil.getBean(IUserRepository.class);
User one = userRepository.getOne(user.getId()); User one = userRepository.findByIdAndTenantId(user.getId(),user.getTenantId() == null ? 560761 : user.getTenantId());
return one; return one;
} }
} }
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