fix: 创建订单会员价计算有误修复
This commit is contained in:
parent
dc6e739f25
commit
260aedd6f4
|
|
@ -2184,7 +2184,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
||||||
|
|
||||||
if (updateVipDTO.getType() == 0) {
|
if (updateVipDTO.getType() == 0) {
|
||||||
TbOrderInfo orderInfo = mpOrderInfoService.getById(orderId);
|
TbOrderInfo orderInfo = mpOrderInfoService.getById(orderId);
|
||||||
if(TableConstant.OrderInfo.Status.UNPAID.equalsVals(orderInfo.getStatus())) {
|
if(!TableConstant.OrderInfo.Status.UNPAID.equalsVals(orderInfo.getStatus())) {
|
||||||
throw new BadRequestException("订单状态异常");
|
throw new BadRequestException("订单状态异常");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue