1
This commit is contained in:
@@ -153,7 +153,7 @@ func (c *OrderManager) GetOrderSkuInfo(ctx *jxcontext.Context, vendorOrderID str
|
||||
LEFT JOIN store t5 ON t5.id = IF(t6.jx_store_id <> 0, t6.jx_store_id, t6.store_id)
|
||||
LEFT JOIN sku t2 ON IF(t1.jx_sku_id != 0, t1.jx_sku_id, t1.sku_id) = t2.id/* AND t2.deleted_at = ?*/
|
||||
LEFT JOIN sku_name t3 ON t2.name_id = t3.id/* AND t3.deleted_at = ?*/
|
||||
LEFT JOIN store_sku_bind b ON b.sku_id = IF(t1.jx_sku_id <> 0, t1.jx_sku_id, t1.sku_id)
|
||||
LEFT JOIN store_sku_bind b ON b.sku_id = IF(t1.jx_sku_id <> 0, t1.jx_sku_id, t1.sku_id) AND b.store_id = IF(t6.jx_store_id <> 0, t6.jx_store_id, t6.store_id)
|
||||
WHERE t1.vendor_order_id = ? AND t1.vendor_id = ?
|
||||
ORDER BY t1.id
|
||||
`, fullSkuNameSQL)
|
||||
|
||||
Reference in New Issue
Block a user