aa
This commit is contained in:
@@ -518,7 +518,7 @@ func getGetStoresSkusBaseSQL(db *dao.DaoDB, storeIDs, skuIDs []int, upcs []strin
|
||||
sql += `
|
||||
GROUP BY 1, 2
|
||||
UNION
|
||||
SELECT a.store_id, a.sku_id, a.act_price*100 actual_act_price
|
||||
SELECT a.store_id, a.sku_id, a.act_price*100 actual_act_price, 0 earning_price
|
||||
FROM act_mtwm_vendor a
|
||||
WHERE 1 = 1
|
||||
`
|
||||
@@ -535,7 +535,7 @@ func getGetStoresSkusBaseSQL(db *dao.DaoDB, storeIDs, skuIDs []int, upcs []strin
|
||||
}
|
||||
sql += ` GROUP BY 1, 2, 3
|
||||
UNION
|
||||
SELECT a.store_id, a.sku_id, a.act_price*100 actual_act_price
|
||||
SELECT a.store_id, a.sku_id, a.act_price*100 actual_act_price, 0 earning_price
|
||||
FROM act_ebai_vendor_sku a
|
||||
WHERE 1 = 1
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user