|
|
@@ -1998,7 +1998,7 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
ocb.setAname(ad.getName());
|
|
|
User u =userMapper.queryById(ocb.getUid());
|
|
|
if (!u.getAid().equals(TokenManager.getAdminId())&&ocb.getMajor()==1){
|
|
|
- new BusinessException("非客户归属人不能设置主要联系人");
|
|
|
+ throw new BusinessException("非客户归属人不能设置主要联系人");
|
|
|
}
|
|
|
if (ocb.getMajor()==1){
|
|
|
organizationContactBookMapper.updateSubContact(ocb.getUid());
|