Commit cf675c2e authored by Smile's avatar Smile Committed by wux

会员积分规则匹配,当有两个不相冲突的积分规则,只匹配一个问题修改

parent fa761e5d
...@@ -130,7 +130,7 @@ public class OrderVStrategy extends AbstractScoreRuleStrategy { ...@@ -130,7 +130,7 @@ public class OrderVStrategy extends AbstractScoreRuleStrategy {
log.info("Order in shipping listener: consignor and consignee are not bound to the member, orderId:{}", orderId); log.info("Order in shipping listener: consignor and consignee are not bound to the member, orderId:{}", orderId);
orderOperateLogDTO.setBody(JSONObject.toJSONString(logBody)); orderOperateLogDTO.setBody(JSONObject.toJSONString(logBody));
orderApi.createOrderOperateLog(orderOperateLogDTO); orderApi.createOrderOperateLog(orderOperateLogDTO);
return; continue;
} }
// 计算积分 // 计算积分
Integer scoreCount = getScoreCount(order.getTransportId(), extraInfo.getOrderVRule(), orderId); Integer scoreCount = getScoreCount(order.getTransportId(), extraInfo.getOrderVRule(), orderId);
...@@ -139,7 +139,7 @@ public class OrderVStrategy extends AbstractScoreRuleStrategy { ...@@ -139,7 +139,7 @@ public class OrderVStrategy extends AbstractScoreRuleStrategy {
log.info("Order in shipping listener: The score count is less than or equal to 0,orderId:{}", orderId); log.info("Order in shipping listener: The score count is less than or equal to 0,orderId:{}", orderId);
orderOperateLogDTO.setBody(JSONObject.toJSONString(logBody)); orderOperateLogDTO.setBody(JSONObject.toJSONString(logBody));
orderApi.createOrderOperateLog(orderOperateLogDTO); orderApi.createOrderOperateLog(orderOperateLogDTO);
return; continue;
} }
// 增加积分 // 增加积分
for (Long userId : userIds) { for (Long userId : userIds) {
......
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