From a4111492d7b4c20a209fba41af30df7250291561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 29 May 2020 09:26:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E5=AE=A1=E6=A0=B8=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store_sku.go | 1 - business/model/store_sku.go | 9 +-------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 914d67845..df6be44eb 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -4512,7 +4512,6 @@ func doStoreSkuAudit(ctx *jxcontext.Context, storeIDs []int, skuBindInfos []*Sto func StoreSkuPriceAudit(ctx *jxcontext.Context, storeIDs, nameIDs []int, status int, remark string, isAsync, isContinueWhenError bool) (hint string, err error) { db := dao.GetDB() - fmt.Println("test1", utils.Format4Output(ctx, false)) if status == model.StoreAuditStatusOnline { return "", fmt.Errorf("审核标志不正确!") } diff --git a/business/model/store_sku.go b/business/model/store_sku.go index 1bb2a478a..5d21d6976 100644 --- a/business/model/store_sku.go +++ b/business/model/store_sku.go @@ -208,13 +208,6 @@ type StoreSkuAudit struct { func (*StoreSkuAudit) TableUnique() [][]string { return [][]string{ - []string{"StoreID", "Type", "NameID", "DeletedAt"}, - } -} - -func (*StoreSkuAudit) TableIndex() [][]string { - return [][]string{ - []string{"DeletedAt"}, - []string{"StoreID", "Status", "Type"}, + []string{"StoreID", "Type", "NameID", "Status", "DeletedAt"}, } }