守价订单是支付原价

This commit is contained in:
苏尹岚
2020-08-24 14:58:44 +08:00
parent 45ca9b3feb
commit 26a00313e3

View File

@@ -669,7 +669,7 @@ func generateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64
jxSku = nil
}
}
} else if storeSkuBind.ActType == model.ActSkuDiscount {
} else if storeSkuBind.ActType == model.ActSkuDiscount && jxOrder.OrderType != model.OrderTypeDefendPrice { //守价的订单是支付原价
jxSku.SalePrice = int64(storeSkuBind.ActPrice)
}
if jxSku != nil {