直营店始终按比例结算,不考虑活动与结算表
This commit is contained in:
@@ -466,7 +466,7 @@ func GetVendorName(vendorID int) (vendorName string) {
|
||||
|
||||
func CaculateSkuEarningPrice(shopPrice, salePrice int64, storePayPercentage int) (earningPrice int64) {
|
||||
earningPrice = salePrice
|
||||
if shopPrice > 0 && shopPrice < earningPrice {
|
||||
if salePrice == 0 || shopPrice > 0 && shopPrice < earningPrice {
|
||||
earningPrice = shopPrice
|
||||
}
|
||||
if storePayPercentage <= 0 {
|
||||
|
||||
Reference in New Issue
Block a user