Commit 1b1578fc by 周晓航

【【老订单聚合、老购物车聚合】购物车、下单新增购物车行加料数量字段】

https://www.tapd.cn/43862731/prong/stories/view/1143862731001052565
parent f484f5dd
...@@ -1850,7 +1850,7 @@ public class OrderAdapter { ...@@ -1850,7 +1850,7 @@ public class OrderAdapter {
break; break;
} }
} }
canRefund = OrderRefundConstant.ALLOW_REFUND.equals(orderRefund); canRefund = Objects.equals(orderRefund, OrderRefundConstant.ALLOW_REFUND);
// 如果是订单完成状态的 支持退款, 这里还需要校验一下是否在退款时间范围内 // 如果是订单完成状态的 支持退款, 这里还需要校验一下是否在退款时间范围内
if (OrderStatusV1.COMPLETE.getCode().equals(status.getCode()) && canRefund) { if (OrderStatusV1.COMPLETE.getCode().equals(status.getCode()) && canRefund) {
long currentTime = System.currentTimeMillis(); long currentTime = System.currentTimeMillis();
......
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