diff --git a/business/model/dao/store_sku.go b/business/model/dao/store_sku.go index fc6c0494d..fec9b61b0 100644 --- a/business/model/dao/store_sku.go +++ b/business/model/dao/store_sku.go @@ -216,19 +216,23 @@ type StoreSkuExt struct { EbaiID string `orm:"column(ebai_id);index" json:"ebaiID"` MtwmID string `orm:"column(mtwm_id)" json:"mtwmID"` // 这个也不是必须的,只是为了DAO取数据语句一致 YbID string `orm:"column(yb_id);index" json:"ybID"` + JdsID int64 `orm:"column(jds_id);index"` JdSyncStatus int8 `orm:"default(2)" json:"jdSyncStatus"` EbaiSyncStatus int8 `orm:"default(2)" json:"ebaiSyncStatus"` MtwmSyncStatus int8 `orm:"default(2)" json:"mtwmSyncStatus"` YbSyncStatus int8 `orm:"default(2)" json:"ybSyncStatus"` + JdsSyncStatus int8 `orm:"default(2)"` //京东商城 JdPrice int `json:"jdPrice"` EbaiPrice int `json:"ebaiPrice"` MtwmPrice int `json:"mtwmPrice"` JxPrice int `json:"jxPrice"` YbPrice int `json:"ybPrice"` + JdsPrice int `json:"jdsPrice"` JdLockTime *time.Time `orm:"null" json:"jdLockTime,omitempty"` + JdsLockTime *time.Time `orm:"null" json:"jdsLockTime"` EbaiLockTime *time.Time `orm:"null" json:"ebaiLockTime,omitempty"` MtwmLockTime *time.Time `orm:"null" json:"mtwmLockTime,omitempty"` JxLockTime *time.Time `orm:"null" json:"jxLockTime,omitempty"` @@ -1329,8 +1333,6 @@ func UpdateActPrice4StoreSkuNameNew(db *DaoDB, storeIDs, skuIDs []int, skuNamesI vendorInfo := &StoreSkuVendorInfo{ VendorID: vendorID, } - fmt.Println("tes1", GetVendorPriceStructField(model.VendorNames[vendorID])) - fmt.Println("tes1", utils.Format4Output(v, false)) vendorInfo.VendorPrice = refutil.GetObjFieldByName(v, GetVendorPriceStructField(model.VendorNames[vendorID])).(int) lockTime, _ := refutil.GetObjFieldByName(v, GetVendorLockTimeStructField(model.VendorNames[vendorID])).(*time.Time) vendorInfo.LockTime = lockTime