Commit 74fc3bd2 by lzxry

空指针修复

parent f8ce8b33
...@@ -388,7 +388,7 @@ public class ADIAccountServiceImpl implements ADIAccountService { ...@@ -388,7 +388,7 @@ public class ADIAccountServiceImpl implements ADIAccountService {
} catch (JSONException e) { } catch (JSONException e) {
e.printStackTrace(); e.printStackTrace();
} }
if(null != adiUser){ if(null != adiUser && !StringUtils.isEmpty(adiUser.getEmail())){
List<ADIUser> list = new ArrayList<>(); List<ADIUser> list = new ArrayList<>();
list.add(adiUser); list.add(adiUser);
List<ADIUser> adiUsers = transAccount(list, null); List<ADIUser> adiUsers = transAccount(list, null);
......
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