Commit d961bbcb authored by zhangfeng's avatar zhangfeng

订单V值触发日志修改

parent 78b37103
......@@ -109,10 +109,10 @@ public class OrderVStrategy extends AbstractScoreRuleStrategy {
if (!tryLock) {
log.error("Order in shipping listener: get lock error, orderId:{}", orderId);
}
// 获取需要添加积分的用户
// 获取需要添加积分的用户 发货人
List<Long> userIds = getAddScoreUser(order, extraInfo, scoreRuleDO);
if (CollectionUtil.isEmpty(userIds)) {
log.info("Order in shipping listener: The customer is not bound to the member or have default userId, customerId:{}", order.getCustomerId());
log.info("Order in shipping listener: consignor and consignee are not bound to the member, orderId:{}", orderId);
return;
}
// 计算积分
......@@ -306,7 +306,7 @@ public class OrderVStrategy extends AbstractScoreRuleStrategy {
}
}
}
log.info("Order in shipping listener: The customer is not bound to the member, customerId:{}", customerId);
log.info("Order in shipping listener: The customer is not bound to the member or have default userId, customerId:{}", customerId);
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