fix: 创建订单会员价计算有误修复
This commit is contained in:
@@ -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("订单状态异常");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user