|
|
@@ -737,7 +737,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
if(ocbList.size()>0){
|
|
|
OrganizationContactBook ocb = null;
|
|
|
for(OrganizationContactBook item: ocbList){
|
|
|
- if(item.getMajor()==1) {
|
|
|
+ if(item!=null&&item.getMajor()!=null&&item.getMajor()==1) {
|
|
|
//改变用户原本的联系人
|
|
|
OrganizationIdentity oi=new OrganizationIdentity();
|
|
|
oi.setContacts(item.getName());
|