修复客户删除回调等bug

1 parent beabfc9e
...@@ -152,6 +152,7 @@ public class WeCustomerServiceImpl extends ServiceImpl<WeCustomerMapper, WeCusto ...@@ -152,6 +152,7 @@ public class WeCustomerServiceImpl extends ServiceImpl<WeCustomerMapper, WeCusto
BeanUtils.copyPropertiesignoreOther(userDetail.getExternal_contact(), weCustomer); BeanUtils.copyPropertiesignoreOther(userDetail.getExternal_contact(), weCustomer);
weCustomer.setCustomerType(userDetail.getExternal_contact().getType()); weCustomer.setCustomerType(userDetail.getExternal_contact().getType());
weCustomer.setCustomerName(userDetail.getExternal_contact().getName()); weCustomer.setCustomerName(userDetail.getExternal_contact().getName());
weCustomer.setDelFlag(new Integer(0));
Optional.ofNullable(userDetail.getFollow_info()).ifPresent(followInfo -> { Optional.ofNullable(userDetail.getFollow_info()).ifPresent(followInfo -> {
weCustomer.setFirstUserId(followInfo.getUserid()); weCustomer.setFirstUserId(followInfo.getUserid());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!