|
|
|
@ -344,7 +344,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerDao, CustomerEntity |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (customerPersonalTOI.getManager() == null){ |
|
|
|
|
ExceptionCast.cast(CrmsCode.CUSTOMER_IS_NULL); |
|
|
|
|
return new ResponseResult<String>().SUCCESS("导入数据失败,员工"+manager.getManager()+"不存在"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.saveCustomerPersonal(customerPersonalTOI); |
|
|
|
@ -364,7 +364,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerDao, CustomerEntity |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (customerCompanyTOI.getManager() == null){ |
|
|
|
|
return new ResponseResult<String>().SUCCESS("导入数据失败,"+manager.getManager()+"员工不存在"); |
|
|
|
|
return new ResponseResult<String>().SUCCESS("导入数据失败,员工"+manager.getManager()+"不存在"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.saveCustomerCompany(customerCompanyTOI); |
|
|
|
|