From 62fba127d41443f25691a8afeb29b3074ca5a907 Mon Sep 17 00:00:00 2001 From: tdx Date: Thu, 26 Feb 2026 07:04:53 +0000 Subject: [PATCH] SVN r1125 SVN-Revision: r1125 --- 插件库/Lskj.Core/SqlHelper.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/插件库/Lskj.Core/SqlHelper.cs b/插件库/Lskj.Core/SqlHelper.cs index 3e01f0d..691a4fa 100644 --- a/插件库/Lskj.Core/SqlHelper.cs +++ b/插件库/Lskj.Core/SqlHelper.cs @@ -271,7 +271,7 @@ namespace Lskj.Core { sqlParameter.Value = returnValue; } - if (sqlParameter.Direction == ParameterDirection.Output) + if (sqlParameter.Direction == ParameterDirection.Output || sqlParameter.Direction == ParameterDirection.InputOutput) { sqlParameter.Value = resultTable.Rows[0][$"outputValue{i}"]; } @@ -370,7 +370,7 @@ namespace Lskj.Core { sqlParameter.Value = returnValue; } - if (sqlParameter.Direction == ParameterDirection.Output) + if (sqlParameter.Direction == ParameterDirection.Output || sqlParameter.Direction == ParameterDirection.InputOutput) { sqlParameter.Value = resultTable.Rows[0][$"outputValue{i}"]; } @@ -501,7 +501,7 @@ namespace Lskj.Core { sqlParameter.Value = returnValue; } - if (sqlParameter.Direction == ParameterDirection.Output) + if (sqlParameter.Direction == ParameterDirection.Output || sqlParameter.Direction == ParameterDirection.InputOutput) { sqlParameter.Value = resultTable.Rows[0][$"outputValue{i}"]; } @@ -846,7 +846,7 @@ namespace Lskj.Core if (connectionType == ConnectionType.DmServer) { cmd.CommandText = Regex.Replace(cmd.CommandText, @"\bdbo\.", "", RegexOptions.IgnoreCase); - cmd.CommandText = Regex.Replace(cmd.CommandText, @"(?