默认返回
This commit is contained in:
@@ -1012,7 +1012,7 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
|
|||||||
.eq(OrderInfo::getId, orderId)
|
.eq(OrderInfo::getId, orderId)
|
||||||
.update();
|
.update();
|
||||||
redisService.del(RedisCst.classKeyExpired.EXPIRED_ORDER + orderInfo.getId());
|
redisService.del(RedisCst.classKeyExpired.EXPIRED_ORDER + orderInfo.getId());
|
||||||
throw new ApiNotPrintException("操作失败");
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1074,6 +1074,6 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
|
|||||||
.set(OrderInfo::getPlaceNum, orderInfo.getPlaceNum() - 1)
|
.set(OrderInfo::getPlaceNum, orderInfo.getPlaceNum() - 1)
|
||||||
.update();
|
.update();
|
||||||
}
|
}
|
||||||
throw new ApiNotPrintException("操作失败");
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user