From 4baaf56c4dbddca4fa83d57b3e042fa60c2cfb4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Sat, 8 Oct 2022 16:47:08 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/store.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 632bc93f2..c478930b1 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -1717,7 +1717,7 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor } if err == nil { - // globals.SugarLogger.Debug(utils.Format4Output(valid, false)) + globals.SugarLogger.Debug("==============2525", utils.Format4Output(valid, false)) if len(valid) > 0 { txDB, _ := dao.Begin(db) defer func() { @@ -1743,6 +1743,8 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor dao.Rollback(db, txDB) return 0, err } + globals.SugarLogger.Debug("==============num", num) + if num > 0 { if globals.IsAddEvent { mapBefore := refutil.FindMapAndStructMixed(valid, beforeStoreMap)