Commit 308e8702 authored by zhangfeng's avatar zhangfeng

订单V值触发日志修改

parent 6ea33e54
...@@ -268,13 +268,13 @@ public class OrderVStrategy extends AbstractScoreRuleStrategy { ...@@ -268,13 +268,13 @@ public class OrderVStrategy extends AbstractScoreRuleStrategy {
private Long getCustomerMemberId(Long customerId) { private Long getCustomerMemberId(Long customerId) {
List<CustomerContactsDO> customerContacts = customerContactsService.getCustomerContactsListByCustomerId(customerId); List<CustomerContactsDO> customerContacts = customerContactsService.getCustomerContactsListByCustomerId(customerId);
if (!CollectionUtil.isEmpty(customerContacts)) { if (!CollectionUtil.isEmpty(customerContacts)) {
log.info("Order in shipping listener: The customer is not bound to the member, customerId:{}", customerId);
for (CustomerContactsDO customerContact : customerContacts) { for (CustomerContactsDO customerContact : customerContacts) {
if (customerContact.getIsDefault() == 1 && customerContact.getUserid() != null) { if (customerContact.getIsDefault() == 1 && customerContact.getUserid() != null) {
return customerContact.getUserid(); return customerContact.getUserid();
} }
} }
} }
log.info("Order in shipping listener: The customer is not bound to the member, customerId:{}", customerId);
return null; return null;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment