This commit is contained in:
邹宗楠
2022-10-17 14:06:23 +08:00
parent 0695aa132c
commit 53fe97cbc1
49 changed files with 78 additions and 225 deletions

View File

@@ -1672,10 +1672,6 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
return 0, err
}
globals.SugarLogger.Debug("==============payload", utils.Format4Output(payload, false))
globals.SugarLogger.Debug("==============storeMap", utils.Format4Output(storeMap, false))
globals.SugarLogger.Debug("==============userName", utils.Format4Output(userName, false))
var beforeStoreMap = *storeMap
syncStatus := model.SyncFlagModifiedMask
valid := dao.StrictMakeMapByStructObject(payload, storeMap, userName)
@@ -1724,7 +1720,6 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
}
if err == nil {
globals.SugarLogger.Debug("==============2525", utils.Format4Output(valid, false))
if len(valid) > 0 {
txDB, _ := dao.Begin(db)
defer func() {