银豹创建商品测试,新增查询api
This commit is contained in:
@@ -109,9 +109,6 @@ type StoreSkuSyncInfo struct {
|
||||
ActPercentage int `json:"actPercentage"` // 直降活动百分比
|
||||
ActSyncStatus int8 `orm:"default(2)" json:"actSyncStatus"`
|
||||
VendorActPrice int64 `json:"vendorActPrice"` // 保存数据用,实际的活动价
|
||||
|
||||
YbAppID string `orm:"column(yb_app_id)" json:"ybAppID"` //银豹对应门店的appID
|
||||
YbAppKey string `json:"ybAppKey"` //银豹对应门店的appkey
|
||||
}
|
||||
|
||||
type MissingStoreSkuInfo struct {
|
||||
@@ -389,7 +386,7 @@ func GetStoreSkus2(db *DaoDB, vendorID, storeID int, skuIDs []int, mustDirty boo
|
||||
}
|
||||
sql := `
|
||||
SELECT
|
||||
t14.vendor_id, t14.vendor_org_code, t14.yb_app_id, t14.yb_app_key,
|
||||
t14.vendor_id, t14.vendor_org_code,
|
||||
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