1
This commit is contained in:
@@ -703,6 +703,10 @@ func SelectStoreSkuListByOpResult(storeSkuList []*partner.StoreSkuInfo, opResult
|
|||||||
sql := ` UPDATE store_sku_bind SET ebai_id = 0,ebai_sync_status = 2 WHERE store_id = ? AND sku_id = ?`
|
sql := ` UPDATE store_sku_bind SET ebai_id = 0,ebai_sync_status = 2 WHERE store_id = ? AND sku_id = ?`
|
||||||
param := []interface{}{storeID, v.SkuID}
|
param := []interface{}{storeID, v.SkuID}
|
||||||
dao.ExecuteSQL(dao.GetDB(), sql, param...)
|
dao.ExecuteSQL(dao.GetDB(), sql, param...)
|
||||||
|
} else if strings.Contains(opResultMap[utils.Str2Int64(v.VendorSkuID)], "商品禁止售卖不允许上架") {
|
||||||
|
sql := ` UPDATE store_sku_bind SET ebai_sync_status = 0 WHERE store_id = ? AND sku_id = ?`
|
||||||
|
param := []interface{}{storeID, v.SkuID}
|
||||||
|
dao.ExecuteSQL(dao.GetDB(), sql, param...)
|
||||||
}
|
}
|
||||||
selectedStoreSkuList = append(selectedStoreSkuList, opFailed)
|
selectedStoreSkuList = append(selectedStoreSkuList, opFailed)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user