|
|
@@ -495,6 +495,7 @@ namespace UAS_MES.DataOperate
|
|
|
command.Parameters.Clear();
|
|
|
string sql = "delete from " + TableName + " where " + ID + " =:DeleteID";
|
|
|
command.CommandText = sql;
|
|
|
+ command.CommandType = CommandType.Text;
|
|
|
Reconnect(command);
|
|
|
command.ArrayBindCount = DeleteID.Length;
|
|
|
command.Parameters.Add(new OracleParameter("DeleteID", OracleDbType.Long, DeleteID, ParameterDirection.Input));
|