From e940065883b5a0209342f32b72d45e13655637ad Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Mon, 21 Jul 2025 17:36:51 +0800 Subject: [PATCH] Update gbase --- Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/GBaseProvider.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/GBaseProvider.cs b/Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/GBaseProvider.cs index 19eabd8af..e4fd869a9 100644 --- a/Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/GBaseProvider.cs +++ b/Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/GBaseProvider.cs @@ -220,6 +220,8 @@ namespace SqlSugar.GBase { foreach (var param in parameters.OrderByDescending(it => it.ParameterName.Length)) { + if (param.Direction == 0) + param.Direction = System.Data.ParameterDirection.Input; if ((sql.Contains(param.ParameterName) && UtilMethods.HasBigObjectParam(param)) || this.CommandType == CommandType.StoredProcedure) {