1
This commit is contained in:
@@ -1136,9 +1136,9 @@ func UpdateStore(ctx *jxcontext.Context, storeID int, payload map[string]interfa
|
||||
dummy := &model.StoreMap{}
|
||||
kv := make(map[string]interface{})
|
||||
if valid["status"] != nil {
|
||||
if syncStatus&model.SyncFlagStoreStatus != 0 && status == model.StoreStatusOpened {
|
||||
kv[model.FieldStatus] = status
|
||||
}
|
||||
//if syncStatus&model.SyncFlagStoreStatus != 0 && status == model.StoreStatusOpened {
|
||||
kv[model.FieldStatus] = status
|
||||
//}
|
||||
}
|
||||
_, err2 := dao.UpdateEntityLogicallyAndUpdateSyncStatus(db, dummy, kv, userName, map[string]interface{}{
|
||||
model.FieldStoreID: store.ID,
|
||||
|
||||
Reference in New Issue
Block a user