Commit 38b1bf51 authored by zhangfeng's avatar zhangfeng

feat(601): 订单V值启用规则修改

parent 3a85b187
...@@ -85,7 +85,7 @@ public class OrderVStrategy extends AbstractScoreRuleStrategy { ...@@ -85,7 +85,7 @@ public class OrderVStrategy extends AbstractScoreRuleStrategy {
orderOperateLogDTO.setCreatorName("订单V值规则"); orderOperateLogDTO.setCreatorName("订单V值规则");
orderOperateLogDTO.setType("积分操作"); orderOperateLogDTO.setType("积分操作");
orderOperateLogDTO.setUserType(2); orderOperateLogDTO.setUserType(2);
orderOperateLogDTO.setMsg("订单起/起运计算积分"); orderOperateLogDTO.setMsg("订单起/起运计算积分");
StringBuilder logBody = new StringBuilder(); StringBuilder logBody = new StringBuilder();
// 订单状态应为起运 // 订单状态应为起运
if (!Objects.equals(order.getStatus(), OrderStatusApiEnum.IN_SHIPPING.getValue())) { if (!Objects.equals(order.getStatus(), OrderStatusApiEnum.IN_SHIPPING.getValue())) {
......
...@@ -192,7 +192,7 @@ public class ScoreRuleServiceImpl extends AbstractService<ScoreRuleMapper, Score ...@@ -192,7 +192,7 @@ public class ScoreRuleServiceImpl extends AbstractService<ScoreRuleMapper, Score
} }
return CollectionUtils.containsAny(oldChannel, newChannel); return CollectionUtils.containsAny(oldChannel, newChannel);
} }
return false; return true;
} }
private boolean verifyReceiveAddr(ScoreRuleOrderVExtraVO oldExtraVO, ScoreRuleOrderVExtraVO extraOrderV) { private boolean verifyReceiveAddr(ScoreRuleOrderVExtraVO oldExtraVO, ScoreRuleOrderVExtraVO extraOrderV) {
......
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