From c05cb1a8dbac83ae252c4ed439cd08bf0a2b3e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 7 Feb 2025 18:05:20 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/orderman_ext.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index c615ee70d..802c22163 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -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)