This commit is contained in:
邹宗楠
2024-02-18 14:41:09 +08:00
parent c7ed30ee86
commit 26aff89ce3
2 changed files with 1 additions and 7 deletions

View File

@@ -1145,7 +1145,7 @@ func UpdateStore(ctx *jxcontext.Context, storeID int, payload map[string]interfa
}, model.FieldSyncStatus, syncStatus)
if err = err2; err == nil {
dao.Commit(db, txDB)
_, err = CurVendorSync.SyncStore(ctx, db, -1, store.ID, false, userName)
//_, err = CurVendorSync.SyncStore(ctx, db, -1, store.ID, false, userName)
if valid["tel1"] != nil || valid["tel2"] != nil {
TryAddStoreBossRole4StoreByMobile(ctx, store.ID, []string{utils.Interface2String(valid["tel1"]), utils.Interface2String(valid["tel2"])})
}
@@ -1170,9 +1170,7 @@ func UpdateStore(ctx *jxcontext.Context, storeID int, payload map[string]interfa
} else {
globals.SugarLogger.Debugf("UpdateStore track:%s, store:%s", ctx.GetTrackInfo(), utils.Format4Output(store, true))
}
if status == -2 {
}
return num, err
}