This commit is contained in:
邹宗楠
2024-02-18 09:22:27 +08:00
parent 031f64a902
commit 84bf5e7b2a

View File

@@ -1140,6 +1140,7 @@ func UpdateStore(ctx *jxcontext.Context, storeID int, payload map[string]interfa
kv[model.FieldStatus] = status kv[model.FieldStatus] = status
//} //}
} }
globals.SugarLogger.Debugf("data := %s,%d", utils.Format4Output(kv, false), store.ID)
_, err2 := dao.UpdateEntityLogicallyAndUpdateSyncStatus(db, dummy, kv, userName, map[string]interface{}{ _, err2 := dao.UpdateEntityLogicallyAndUpdateSyncStatus(db, dummy, kv, userName, map[string]interface{}{
model.FieldStoreID: store.ID, model.FieldStoreID: store.ID,
}, model.FieldSyncStatus, syncStatus) }, model.FieldSyncStatus, syncStatus)