Merge branch 'mark' of e.coding.net:rosydev/jx-callback into mark

This commit is contained in:
gazebo
2020-01-07 13:38:35 +08:00

View File

@@ -1137,7 +1137,7 @@ func GetTopSkusByStoreIDs(db *DaoDB, storeIDs []int) (storeSkuNameExt []*StoreSk
JOIN sku t2 ON t2.id = t1.id
JOIN sku_name t3 ON t3.id = t2.name_id
UNION ALL
SELECT 2 s, 0 count, a.sku_id, g.*, a.store_id, d.name store_name
SELECT 2 s, 0 count, a.sku_id, g.*, a.store_id, e.name store_name
FROM store_sku_bind a
LEFT JOIN act_store_sku b ON a.store_id = b.store_id AND b.sku_id = a.sku_id
LEFT JOIN act_map c ON c.act_id = b.act_id