Commit fdfb0d9b by zhouhaibao

[+]修改二手车群变更回调

1 parent 323bc38f
......@@ -589,7 +589,7 @@ public class CustomerBaseService {
List<CustomerBaseRelation> deletelist = list.stream().filter(index -> (index.getDelFlag() == null || index.getDelFlag() != -1)
&& !customerBaseRelations.contains(index)).collect(Collectors.toList());
List<CustomerBaseRelation> resetAddlist = customerBaseRelations.stream().filter(index -> list.contains(index) && index.getDelFlag() == -1).collect(Collectors.toList());
List<CustomerBaseRelation> resetAddlist = list.stream().filter(index -> customerBaseRelations.contains(index) && index.getDelFlag() == -1).collect(Collectors.toList());
if (!CollectionUtils.isEmpty(addlist)) {
log.info("有客户入群:{}", addlist);
customerBaseRelationService.insertList(addlist);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!