Commit 80a545ab authored by gaoguangjing's avatar gaoguangjing

校验是否为空,不为空执行

parent 9b7f907d
......@@ -42,6 +42,7 @@ public class OauthLoginInfoServiceImpl implements IOauthLoginInfoService {
public void addLoginInfo(User user, String tenantId) {
System.out.println(atomicSequencer.nextId());
OauthClientDetailsEntity oauthClientDetailsEntity = oauthClientDetailsRepository.findFirstByClientId(tenantId);
if (oauthClientDetailsEntity != null) {
String institutionId = oauthClientDetailsEntity.getInstitutionId();
String productId = oauthClientDetailsEntity.getProductId();
String phoneNo = user.getPhoneNo();
......@@ -96,5 +97,6 @@ public class OauthLoginInfoServiceImpl implements IOauthLoginInfoService {
}
}
}
}
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