- 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:
gazebo
2018-10-11 10:21:43 +08:00
parent d58e03619d
commit 9ad1e383f8
4 changed files with 42 additions and 22 deletions

View File

@@ -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
}