京东商城售后单创建
This commit is contained in:
@@ -236,7 +236,7 @@ func (c *BaseScheduler) AgreeOrRefuseRefund(ctx *jxcontext.Context, afsOrderID s
|
|||||||
diff += skuMap[v.SkuID].SalePrice * int64(v.Count)
|
diff += skuMap[v.SkuID].SalePrice * int64(v.Count)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
order.TotalShopMoney = utils.Float64TwoInt64(float64(order.ActualPayPrice-diff) * jdshopapi.JdsPayPercentage)
|
order.TotalShopMoney = utils.Float64TwoInt64(float64(float64(order.TotalShopMoney)/jdshopapi.JdsPayPercentage-float64(diff)) * jdshopapi.JdsPayPercentage)
|
||||||
if len(waybills) > 0 {
|
if len(waybills) > 0 {
|
||||||
jxutils.RefreshOrderEarningPrice3(order, storeDetail.PayPercentage, waybills[0])
|
jxutils.RefreshOrderEarningPrice3(order, storeDetail.PayPercentage, waybills[0])
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user