mirror of https://github.com/elunez/eladmin
firstTag为空的时候空指针
parent
3dc36c5cb4
commit
6734b773cf
|
@ -91,6 +91,10 @@ public class CustomerInfoServiceImpl implements CustomerInfoService {
|
||||||
customerInfoDTO.setFirstContactName(customerContact.getName());
|
customerInfoDTO.setFirstContactName(customerContact.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(StringUtils.isEmpty(customerInfoDTO.getFirstContactName())){
|
||||||
|
customerInfoDTO.setFirstContactName(customerContactList.get(0).getName());
|
||||||
|
customerInfoDTO.setFirstContactMobile(customerContactList.get(0).getMobile());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue