From 3c7acbf17904c14ed4ba75ccfd9f3c7de1644e14 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Fri, 29 Nov 2024 13:54:04 +0800 Subject: [PATCH] Update gbase --- Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/GBaseProvider.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/GBaseProvider.cs b/Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/GBaseProvider.cs index 728476188..988b95bea 100644 --- a/Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/GBaseProvider.cs +++ b/Src/Asp.NetCore2/SqlSugar.GBaseCore/GBase/GBaseProvider.cs @@ -368,6 +368,10 @@ namespace SqlSugar.GBase parameter.Direction = ParameterDirection.Input; } sqlParameter.Direction = parameter.Direction; + if (sqlParameter.Direction == 0) + { + sqlParameter.Direction = ParameterDirection.Input; + } result[index] = sqlParameter; if (sqlParameter.Direction.IsIn(ParameterDirection.Output, ParameterDirection.InputOutput, ParameterDirection.ReturnValue)) {