From 41e8f490b9202ec268ad47a3ad18a7d11d99aa39 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Tue, 9 May 2023 18:09:33 +0800 Subject: [PATCH] =?UTF-8?q?sku=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store_sku.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 5c506339b..8f940f508 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -413,8 +413,7 @@ func GetStoresSkusForStore(ctx *jxcontext.Context, storeID int, isFocus, isAct b //` sql2 := ` - SELECT a.id sku_id, a.spec_quality sku_spec_quality, a.spec_unit sku_spec_unit, a.status sku_status, a.comment, - b.* + SELECT a.*,b.* FROM sku a JOIN sku_name c ON a.name_id = c.id AND c.deleted_at = ? AND c.status = ? `