SVN r1136
SVN-Revision: r1136
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user