fix: 创建订单会员价计算有误修复

This commit is contained in:
张松 2024-11-06 16:22:58 +08:00
parent dc6e739f25
commit 260aedd6f4
1 changed files with 1 additions and 1 deletions

View File

@ -2184,7 +2184,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
if (updateVipDTO.getType() == 0) {
TbOrderInfo orderInfo = mpOrderInfoService.getById(orderId);
if(TableConstant.OrderInfo.Status.UNPAID.equalsVals(orderInfo.getStatus())) {
if(!TableConstant.OrderInfo.Status.UNPAID.equalsVals(orderInfo.getStatus())) {
throw new BadRequestException("订单状态异常");
}