Merge remote-tracking branch 'origin/jdshop' into jxact

This commit is contained in:
苏尹岚
2020-08-18 15:17:41 +08:00

View File

@@ -1392,8 +1392,8 @@ func GetSupplySupportStoreSkus(db *DaoDB, fromDate, toDate time.Time, fromStoreI
JOIN store_sku_bind d ON d.store_id = ? AND d.sku_id = c.sku_id AND d.deleted_at = ?
JOIN sku e ON e.id = d.sku_id
JOIN sku_name f ON f.id = e.name_id
WHERE status <> ?
AND stock <> ?
WHERE d.status <> ?
AND d.stock <> ?
ORDER BY c.count desc
`
sqlParams := []interface{}{