|
@@ -226,9 +226,7 @@ public class UserAuthenticationFacade extends UserAuthenticationServiceImpl {
|
|
eq("is_deleted", IsDeleteEnum.N.getKey()).
|
|
eq("is_deleted", IsDeleteEnum.N.getKey()).
|
|
orderByDesc("gmt_create");
|
|
orderByDesc("gmt_create");
|
|
UserAuthentication userAuthentication = this.getOne(qw);
|
|
UserAuthentication userAuthentication = this.getOne(qw);
|
|
- if (userAuthentication == null) {
|
|
|
|
- throw new CommonException(CommonErrorCode.NOT_EXISTS, "当前用户没有认证信息");
|
|
|
|
- } else {
|
|
|
|
|
|
+ if (userAuthentication != null) {
|
|
map.put("userAuthentication", userAuthentication);
|
|
map.put("userAuthentication", userAuthentication);
|
|
}
|
|
}
|
|
return map;
|
|
return map;
|