默认返回

This commit is contained in:
wangw 2025-03-31 14:17:50 +08:00
parent 3014c065e3
commit 5410039330
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}