yb
This commit is contained in:
@@ -111,7 +111,7 @@ type StoreSkuSyncInfo struct {
|
||||
VendorActPrice int64 `json:"vendorActPrice"` // 保存数据用,实际的活动价
|
||||
|
||||
YbAppID string `orm:"column(yb_app_id)" json:"ybAppID"` //银豹对应门店的appID
|
||||
YbAppKey string //银豹对应门店的appkey
|
||||
YbAppKey string `json:"ybAppKey"` //银豹对应门店的appkey
|
||||
}
|
||||
|
||||
type MissingStoreSkuInfo struct {
|
||||
@@ -389,7 +389,7 @@ func GetStoreSkus2(db *DaoDB, vendorID, storeID int, skuIDs []int, mustDirty boo
|
||||
}
|
||||
sql := `
|
||||
SELECT
|
||||
t14.vendor_id, t14.vendor_org_code,
|
||||
t14.vendor_id, t14.vendor_org_code, t14.yb_app_id, t14.yb_app_key,
|
||||
t1.id bind_id, t1.sku_id, t1.price, t1.unit_price, t1.status store_sku_status,
|
||||
%s vendor_sku_id, t1.%s_sync_status sku_sync_status, t1.%s_price vendor_price, t1.%s_lock_time lock_time,
|
||||
t1.store_id, t1.deleted_at bind_deleted_at,t1.status_sale_begin,t1.status_sale_end,
|
||||
|
||||
Reference in New Issue
Block a user