Commit ae8dd3dd by lzxry

null处理

parent 22688f5f
......@@ -327,7 +327,7 @@ public class ADIAccountServiceImpl implements ADIAccountService {
ADIUser adiUser1 =null;
ADIUser adiUser2 =null;
ADIUser adiUser =null;
ADIUser adiUser = new ADIUser();
try {
if(contractType.contains("国内")){
......
......@@ -653,7 +653,7 @@ public class ContractServiceImpl implements ContractService {
}
}else if("cas".equals(resource.getPlatform())){
ADIUser adiUser = adiAccountService.findOne(resource.getEmail(), resource.getContractType());
if(adiUser==null||StringUtils.isEmpty(adiUser.getSendTime())){
if(StringUtils.isEmpty(adiUser.getSendTime())){
resource.setShareSign(0);
}else{
resource.setShareSign(1);
......
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