SVN r1136

SVN-Revision: r1136
This commit is contained in:
tdx
2026-03-11 06:00:42 +00:00
parent f3eadb18c0
commit f578777256
+2 -4
View File
@@ -141,9 +141,8 @@ namespace Lskj.PubGetChipInfo
if (!string.IsNullOrEmpty(functionName))
{
DataTable sqlParametersTab = BaseImpl.GetDataTableResult($"SELECT PARAMETER_NAME,PARAMETER_MODE,CHARACTER_MAXIMUM_LENGTH,DATA_TYPE FROM INFORMATION_SCHEMA.PARAMETERS WHERE SPECIFIC_NAME = '{functionName}' ORDER BY ORDINAL_POSITION;");
using (SqlConnection sqlConnection = new SqlConnection(SqlHelper._connection.ConnectionString))
{
using (SqlCommand command = new SqlCommand(functionName, sqlConnection))
using (SqlCommand command = new SqlCommand(functionName, (SqlConnection)SqlHelper._connection))
{
string[] parametersArray = parameters.Split(',');
foreach (DataRow parameterRow in sqlParametersTab.Rows)
@@ -206,7 +205,6 @@ namespace Lskj.PubGetChipInfo
}
}
}
}
};
}
else