diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 340eb7b5a..4d4a92ec2 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -1792,7 +1792,10 @@ func AdjustJdsOrderSimple(ctx *jxcontext.Context, vendorOrderID string, skuID in } else { _, err = dao.DeleteEntity(db, orderSku) } - + order.AdjustCount++ + order.ActualPayPrice = order.ActualPayPrice - orderSku.SalePrice + order.TotalShopMoney = int64(float64(order.ActualPayPrice) * jdshopapi.JdsPayPercentage) + dao.UpdateEntity(db, order, "AdjustCount", "TotalShopMoney") return err }