fix: 支付订单会员价被覆盖修复
This commit is contained in:
parent
845c9808fe
commit
01b414aec0
|
|
@ -2015,8 +2015,8 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||
orderInfo.setProductCouponDiscountAmount(productDiscount);
|
||||
|
||||
// 更新订单信息
|
||||
|
||||
OrderPriceDTO priceDTO = createOrderDetailWithCoupon(activateCartInfo, orderInfo, payDTO.getShopId(), false, null);
|
||||
ShopEatTypeInfoDTO shopEatTypeInfoDTO = checkEatModel(orderInfo.getShopId(), orderInfo.getTableId());
|
||||
OrderPriceDTO priceDTO = createOrderDetailWithCoupon(activateCartInfo, orderInfo, payDTO.getShopId(), false, shopEatTypeInfoDTO);
|
||||
BigDecimal finalAmount = priceDTO.getTotalAmount().multiply(BigDecimal.valueOf(payDTO.getDiscount())).setScale(2, RoundingMode.HALF_UP);
|
||||
|
||||
orderInfo.setUpdatedAt(System.currentTimeMillis());
|
||||
|
|
|
|||
Loading…
Reference in New Issue