aa
This commit is contained in:
@@ -406,8 +406,8 @@ func GetStoreCategories(db *DaoDB, vendorID, storeID int, skuIDs []int, level in
|
|||||||
LEFT JOIN store_sku_category_map t5p ON t4p.id = t5p.category_id AND t5.store_id = t5p.store_id
|
LEFT JOIN store_sku_category_map t5p ON t4p.id = t5p.category_id AND t5.store_id = t5p.store_id
|
||||||
LEFT JOIN store_map t1 ON t1.store_id = t5.store_id AND t1.vendor_id = ?
|
LEFT JOIN store_map t1 ON t1.store_id = t5.store_id AND t1.vendor_id = ?
|
||||||
LEFT JOIN store t6 ON t6.id = t5.store_id
|
LEFT JOIN store t6 ON t6.id = t5.store_id
|
||||||
WHERE t5.store_id = ? AND t4.is_sync <> ?`
|
WHERE t5.store_id = ? AND t5.deleted_at = ? AND t4.is_sync <> ?`
|
||||||
sqlParams = append(sqlParams, utils.DefaultTimeValue, vendorID, storeID, model.YES)
|
sqlParams = append(sqlParams, utils.DefaultTimeValue, utils.DefaultTimeValue, vendorID, storeID, model.YES)
|
||||||
if mustDirty {
|
if mustDirty {
|
||||||
sql += " AND t5.%s_sync_status <> 0"
|
sql += " AND t5.%s_sync_status <> 0"
|
||||||
fieldPrefixParams = append(fieldPrefixParams, fieldPrefix)
|
fieldPrefixParams = append(fieldPrefixParams, fieldPrefix)
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ var (
|
|||||||
ebaiSupplierInfo = map[string]*tEbaiSupplierInfo{
|
ebaiSupplierInfo = map[string]*tEbaiSupplierInfo{
|
||||||
EbaiSupplierIDsc: &tEbaiSupplierInfo{
|
EbaiSupplierIDsc: &tEbaiSupplierInfo{
|
||||||
SupplierID: EbaiSupplierIDsc,
|
SupplierID: EbaiSupplierIDsc,
|
||||||
Logo: "http://image.jxc4.com/image/212c268d26f6237e33ba269d24e2f76b.jpg",
|
Logo: "https://image-star.elemecdn.com/pb/dab294b0d3e9fa4b5fa63007ff02d06e98",
|
||||||
Categorys: []map[string]interface{}{
|
Categorys: []map[string]interface{}{
|
||||||
map[string]interface{}{
|
map[string]interface{}{
|
||||||
"category1": 166,
|
"category1": 166,
|
||||||
|
|||||||
Reference in New Issue
Block a user