Commit 1961e75a by wuwenlong

auto cancel order bugfix;

parent b3488624
......@@ -138,7 +138,7 @@ public class OrderTask {
sOrder.setIsDelete(YesNoEnum.yes.getIndex());
Boolean execute = false;
execute = transactionTemplate.execute(e -> {
orderService.updateById(sOrder);
orderService.removeById(sOrder);
// 退优惠券
if (ObjectUtil.isNotNull(sOrder.getCouponId())) {
SConsumerCoupon couponUser = consumerCouponService.getById(sOrder.getCouponId());
......
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