京西订单结算比例0.96
This commit is contained in:
@@ -9,6 +9,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"git.rosy.net.cn/baseapi/platformapi/jdshopapi"
|
||||||
|
|
||||||
"git.rosy.net.cn/jx-callback/business/jxcallback/orderman"
|
"git.rosy.net.cn/jx-callback/business/jxcallback/orderman"
|
||||||
|
|
||||||
"git.rosy.net.cn/jx-callback/business/jxstore/event"
|
"git.rosy.net.cn/jx-callback/business/jxstore/event"
|
||||||
@@ -857,6 +859,7 @@ func jxOrder2GoodsOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, deliveryAd
|
|||||||
}
|
}
|
||||||
order.TotalShopMoney += jxOrder.FreightPrice
|
order.TotalShopMoney += jxOrder.FreightPrice
|
||||||
order.ActualPayPrice = order.TotalShopMoney
|
order.ActualPayPrice = order.TotalShopMoney
|
||||||
|
order.TotalShopMoney = utils.Float64TwoInt64(float64(order.TotalShopMoney) * jdshopapi.JdsPayPercentage)
|
||||||
if jxOrder.FromStoreID != 0 {
|
if jxOrder.FromStoreID != 0 {
|
||||||
order.FromStoreID = jxOrder.FromStoreID
|
order.FromStoreID = jxOrder.FromStoreID
|
||||||
order.WaybillVendorID = model.VendorIDJDWL
|
order.WaybillVendorID = model.VendorIDJDWL
|
||||||
|
|||||||
Reference in New Issue
Block a user