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