问题修复

master
shijie 4 years ago
parent d93249b628
commit 67371b21a6
  1. 2
      dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java

@ -674,7 +674,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerDao, CustomerEntity
.eq("customer_id", companyCustomerEntity.getCustomerId()));
//根据企业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<>();

Loading…
Cancel
Save