提交当前本机整理版本
This commit is contained in:
@@ -53,4 +53,32 @@ namespace Lskj.QueryEssentialInfo
|
||||
{
|
||||
MainSourceSql = args[5] + "";
|
||||
}
|
||||
if (args.Length > 6 && !string.IsNullOrWh
|
||||
if (args.Length > 6 && !string.IsNullOrWhiteSpace(args[6]))
|
||||
{
|
||||
DetailSourceSql = args[6] + "";
|
||||
}
|
||||
if (args.Length > 7 && !string.IsNullOrWhiteSpace(args[7]))
|
||||
{
|
||||
ExecMode = args[7] + "";
|
||||
}
|
||||
if (args.Length > 8 && !string.IsNullOrWhiteSpace(args[8]))
|
||||
{
|
||||
EmployeeTab = args[8] + "";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(args[args.Length - 1]))
|
||||
{
|
||||
try
|
||||
{
|
||||
JObject rowObject = JsonConvert.DeserializeObject<JObject>(args[args.Length - 1]);
|
||||
JArray jArray = new JArray();
|
||||
jArray.Add(rowObject);
|
||||
DataTable dataTable = JsonConvert.DeserializeObject<DataTable>(JsonConvert.SerializeObject(jArray));
|
||||
this.MaintabFocusedRow = dataTable.Rows[0];
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user