From d00d1cd16d934ff292aa58fe36f5eb7412bc7c30 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Tue, 20 Jul 2021 10:15:19 +0800 Subject: [PATCH] aa --- business/jxstore/act/act.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 1d39b6506..5306563b1 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -1010,7 +1010,8 @@ func DeleteActStoreSkuBind(ctx *jxcontext.Context, db *dao.DaoDB, actID int, act return 0, err } } - + fmt.Println("actMap", utils.Format4Output(actMap, true)) + fmt.Println("actStoreSkuMap", utils.Format4Output(partner.SplitActStoreSku(actStoreSkuMap[act.VendorID]), true)) isNeedCancelAct := true for vendorID, act := range actMap { originSyncStatus |= act.SyncStatus @@ -1021,7 +1022,6 @@ func DeleteActStoreSkuBind(ctx *jxcontext.Context, db *dao.DaoDB, actID int, act for storeID := range actStoreSkuMap { for _, actStoreSku := range actStoreSkuMap[storeID] { if actStoreSkuParam == nil || actStoreSkuParamMap[jxutils.Combine2Int(actStoreSku.StoreID, actStoreSku.SkuID)] != nil { - fmt.Println("222222222222222222222222222", utils.Format4Output(act, true)) if act.Type == model.ActSkuFake { _, err = dao.DeleteEntityLogically(db, &model.ActStoreSkuMap{}, nil, ctx.GetUserName(), map[string]interface{}{ @@ -1049,7 +1049,6 @@ func DeleteActStoreSkuBind(ctx *jxcontext.Context, db *dao.DaoDB, actID int, act isDeleteAll = true isDeleteAtLeastOne = true } - fmt.Println("111111111111111111111111", isDeleteAll, isDeleteAtLeastOne) if isDeleteAll || isDeleteAtLeastOne { syncStatus := int8(model.SyncFlagModifiedMask) if isDeleteAll {