Skip to content

Commit

Permalink
public MAction Set(object key, object value, int state)
Browse files Browse the repository at this point in the history
key不存在时,从警告提示级别改成错误提示级别。
  • Loading branch information
cyq1162 committed Sep 27, 2020
1 parent a852df3 commit 76863cf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Action/MAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,9 @@ public MAction Set(object key, object value, int state)
}
else
{
dalHelper.DebugInfo.Append(AppConst.HR + "Alarm : can't find the ColumnName:" + key);
string msg = "MAction Set : can't find the ColumnName:" + key;
Log.Write(msg, LogType.DataBase.ToString());
//dalHelper.DebugInfo.Append(AppConst.HR + "Alarm : can't find the ColumnName:" + key);
}
return this;
}
Expand All @@ -1210,7 +1212,9 @@ public MAction Sets(object startKey, params object[] values)
}
else
{
dalHelper.DebugInfo.Append(AppConst.HR + "Alarm : can't find the ColumnName:" + startKey);
string msg = "MAction Set : can't find the ColumnName:" + key;
Log.Write(msg, LogType.DataBase.ToString());
// dalHelper.DebugInfo.Append(AppConst.HR + "Alarm : can't find the ColumnName:" + startKey);
}
return this;
}
Expand Down

0 comments on commit 76863cf

Please sign in to comment.