默认返回
This commit is contained in:
@@ -1012,7 +1012,7 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
|
||||
.eq(OrderInfo::getId, orderId)
|
||||
.update();
|
||||
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)
|
||||
.update();
|
||||
}
|
||||
throw new ApiNotPrintException("操作失败");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user