Commit 3d623bf9 by box

三方券订单退款退券

parent 940d069a
......@@ -125,8 +125,7 @@ public class RefundService {
}
// 如果券没有冲正,判断核销时间,默认使用订单的创建时间
if (!coupon.isCanceled()) {
Date orderCreateDate = DateUtil.convert2Date(order.getCreateTime(), DateUtil.FORMAT_YYYY_MM_DD_HHMMSS);
if (ThirdCouponOrderHandle.isCancelTimeout(orderCreateDate, coupon.getEcologyChannelType())) {
if (ThirdCouponOrderHandle.isCancelTimeout(new Date(Long.parseLong(order.getCreateTime())), coupon.getEcologyChannelType())) {
throw new ServiceException("三方券核销时间过长,无法申请退款");
}
}
......
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