This commit is contained in:
苏尹岚
2020-11-09 15:36:45 +08:00
parent adb3c1b6dd
commit 7e51b093e5
2 changed files with 8 additions and 7 deletions

View File

@@ -710,7 +710,7 @@ func (c *OrderManager) GetStoresOrderSaleInfoNew(ctx *jxcontext.Context, storeID
saleInfo.RealEarningPrice += v.ShopPrice * int64(v.Count)
}
} else {
if v.PayPercentage == 100 {
if v.OrderPayPercentage == 100 {
saleInfo.RealEarningPrice += v.ShopPrice * int64(v.Count)
}
}
@@ -726,7 +726,7 @@ func (c *OrderManager) GetStoresOrderSaleInfoNew(ctx *jxcontext.Context, storeID
saleInfo.RealEarningPrice += v.NewEarningPrice
}
} else {
if v.PayPercentage < 100 {
if v.OrderPayPercentage < 100 {
saleInfo.RealEarningPrice += v.NewEarningPrice
}
}
@@ -739,7 +739,7 @@ func (c *OrderManager) GetStoresOrderSaleInfoNew(ctx *jxcontext.Context, storeID
saleInfo.RealEarningPrice += v.NewEarningPrice
}
} else {
if v.PayPercentage < 100 {
if v.OrderPayPercentage < 100 {
saleInfo.RealEarningPrice += v.NewEarningPrice
}
}