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 {