提交当前本机整理版本
This commit is contained in:
@@ -219,4 +219,27 @@ namespace Lskj.Business.Impl
|
||||
/// <returns>System.String.</returns>
|
||||
public static string GetConnection()
|
||||
{
|
||||
return string.Format
|
||||
return string.Format(AESUtil.Decrypt(Connection1), serverName, DataBase);
|
||||
}
|
||||
/// <summary>
|
||||
/// <para>说明:遍历获取方法中文注释</para>
|
||||
/// <para>创建人:唐德馨</para>
|
||||
/// <para>创建日期:2021-08-13 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <returns>System.String.</returns>
|
||||
public static string GetMethodExplain(string methodName, DataTable DataTable)
|
||||
{
|
||||
DataTable dataTable = DataTable;
|
||||
if (dataTable == null || dataTable.Rows.Count == 0) return string.Empty;
|
||||
IEnumerable<DataRow> resultRow = dataTable.Select().Where(n => n["p_ErrMethod"].Equals(methodName));
|
||||
if (resultRow.Count() != 0)
|
||||
return resultRow.First()["p_interpretText"].ToString();
|
||||
else
|
||||
return string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user