- fixed bug in calculate max parallelCount in tasksch.RunTask
- multi-task for stores in jd.SyncStoreSkus - calculate platform price use platform price_percentage. - GoodsOrder json StoreName.
This commit is contained in:
@@ -127,3 +127,7 @@ func CaculateSkuPrice(unitPrice int, specQuality float32, specUnit string, skuNa
|
||||
func GetSliceLen(list interface{}) int {
|
||||
return reflect.ValueOf(list).Len()
|
||||
}
|
||||
|
||||
func CaculateSkuVendorPrice(price int, percentage int) int {
|
||||
return price * percentage / 100
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user