feat: 霸王餐充值修改

This commit is contained in:
2024-11-05 15:22:26 +08:00
parent 90ea8b5122
commit dfef9c90c8

View File

@@ -1055,7 +1055,9 @@ public class CartService {
priceDTO.setPackAmount(priceDTO.getPackAmount().add(cashierCart.getPackFee()));
}
priceDTO.setOriginAmount(priceDTO.getOriginAmount().add(cashierCart.getTotalAmount()));
if (!"return".equals(cashierCart.getStatus())) {
priceDTO.setOriginAmount(priceDTO.getOriginAmount().add(cashierCart.getTotalAmount()));
}
TbProductSku productSku = productSkuMapper.selectByPrimaryKey(Integer.valueOf(cashierCart.getSkuId()));
TbOrderDetail orderDetail = null;