| @@ -377,7 +377,7 @@ public class WxOrderServiceImpl implements WxOrderService { | |||||
| if (isPress) { | if (isPress) { | ||||
| // 初始砍价信息 | // 初始砍价信息 | ||||
| record.setPressCurrentNum(0); | record.setPressCurrentNum(0); | ||||
| record.setPressEndDate(DateUtils.getHourTimeAfter(coupon.getPressLimitHours(), curr)); | |||||
| record.setPressEndDate(DateUtils.getHourTimeAfter(coupon.getPressLimitHours(), new Date())); | |||||
| record.setPressCurrentValue(coupon.getPrice() - coupon.getSalePrice()); | record.setPressCurrentValue(coupon.getPrice() - coupon.getSalePrice()); | ||||
| } | } | ||||
| @@ -400,7 +400,7 @@ public class WxOrderServiceImpl implements WxOrderService { | |||||
| orderPress.setId(idWorker.nextId()); | orderPress.setId(idWorker.nextId()); | ||||
| orderPress.setOrderId(orderNumber); | orderPress.setOrderId(orderNumber); | ||||
| orderPress.setUserId(user.getId()); | orderPress.setUserId(user.getId()); | ||||
| orderPress.setCreateDate(curr); | |||||
| orderPress.setCreateDate(new Date()); | |||||
| orderPress.setFirst(EnumOrderPressType.FIRST.getCode()); | orderPress.setFirst(EnumOrderPressType.FIRST.getCode()); | ||||
| int lPressValue = PressUtils.stateLessPressValue(total, left_total, coupon.getPressLimitNum(), 0); | int lPressValue = PressUtils.stateLessPressValue(total, left_total, coupon.getPressLimitNum(), 0); | ||||
| orderPress.setPressValue(lPressValue); | orderPress.setPressValue(lPressValue); | ||||