diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 962fcc670..58639b41d 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -1006,12 +1006,12 @@ func generateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64 if len(discountPrice) == 1 && outJxOrder.OrderPrice >= int64(discountPrice[0].DeliveryFeeDeductionSill) { outJxOrder.FreightPrice -= int64(discountPrice[0].DeliveryFeeDeductionFee) jxOrder.FreightPrice -= int64(discountPrice[0].DeliveryFeeDeductionFee) - jxOrder.TotalPrice -= int64(discountPrice[0].DeliveryFeeDeductionFee) } if err == nil { if jxOrder.OrderType == model.OrderTypeNormal { outJxOrder.TotalPrice = outJxOrder.OrderPrice + outJxOrder.FreightPrice + jxOrder.TotalPrice = jxOrder.OrderPrice + jxOrder.FreightPrice var ( tuserID string dicountCards []*model.DiscountCard