This commit is contained in:
gazebo
2019-07-23 23:52:34 +08:00
parent 44ec485452
commit 73d0976038
2 changed files with 3 additions and 5 deletions

View File

@@ -274,7 +274,7 @@ func GetFullStoreSkus(db *DaoDB, vendorID, storeID int) (skus []*StoreSkuSyncInf
JOIN sku_category t4 ON t3.category_id = t4.id AND t4.deleted_at = ?
LEFT JOIN sku_category t5sku ON t2.category_id = t5sku.id
WHERE t2.deleted_at = ? AND t2.status = ? AND t2.%s_id <> 0
`
ORDER BY t1.price DESC`
sqlParams := []interface{}{
storeID,
utils.DefaultTimeValue,