- 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

@@ -14,7 +14,7 @@ type GoodsOrder struct {
VendorStoreID string `orm:"column(vendor_store_id);size(48)" json:"vendorStoreID"`
StoreID int `orm:"column(store_id)" json:"storeID"` // 外部系统里记录的 jxstoreid
JxStoreID int `orm:"column(jx_store_id)" json:"jxStoreID"` // 根据VendorStoreID在本地系统里查询出来的 jxstoreid
StoreName string `orm:"size(64)" json:"-"`
StoreName string `orm:"size(64)" json:"storeName"`
ShopPrice int64 `json:"shopPrice"` // 单位为分 门店标价
SalePrice int64 `json:"salePrice"` // 单位为分 售卖价
ActualPayPrice int64 `json:"actualPayPrice"` // 单位为分 顾客实际支付