|
|
@ -674,7 +674,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerDao, CustomerEntity |
|
|
|
.eq("customer_id", companyCustomerEntity.getCustomerId())); |
|
|
|
.eq("customer_id", companyCustomerEntity.getCustomerId())); |
|
|
|
|
|
|
|
|
|
|
|
//根据企业id删除关联关系
|
|
|
|
//根据企业id删除关联关系
|
|
|
|
crmsCustomerRelatedMapper.delete(new QueryWrapper<CrmsCustomerRelated>().eq("customer_id", companyCustomerEntity.getId())); |
|
|
|
crmsCustomerRelatedMapper.delete(new QueryWrapper<CrmsCustomerRelated>().eq("customer_id",entity.getId()));//companyCustomerEntity.getId()
|
|
|
|
|
|
|
|
|
|
|
|
//绑定关联关系
|
|
|
|
//绑定关联关系
|
|
|
|
List<CrmsCustomerRelated> relatedList = new ArrayList<>(); |
|
|
|
List<CrmsCustomerRelated> relatedList = new ArrayList<>(); |
|
|
|