|
|
@ -87,7 +87,15 @@ namespace Rs.Controls
|
|
|
|
int count = db.ExecuteNonQuery(updateSql);
|
|
|
|
int count = db.ExecuteNonQuery(updateSql);
|
|
|
|
if (count > 0)
|
|
|
|
if (count > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Init();
|
|
|
|
//Init();
|
|
|
|
|
|
|
|
string querySql = $"select * from SysParameter where FieldName='{key}' ";
|
|
|
|
|
|
|
|
DataTable dtParameters = db.GetDataTable(querySql);
|
|
|
|
|
|
|
|
if (dtParameters != null && dtParameters.Rows.Count > 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
SysParameter parm = EntityHelper.ToEntity<SysParameter>(dtParameters.Rows[0]);
|
|
|
|
|
|
|
|
sysParamDic.Remove(key);
|
|
|
|
|
|
|
|
sysParamDic.Add(key, parm);
|
|
|
|
|
|
|
|
}
|
|
|
|
return count;
|
|
|
|
return count;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|