Update 人大金仓[SqlServer]

This commit is contained in:
sunkaixuan
2024-07-22 10:45:03 +08:00
parent 61f411b28b
commit 88cc162811

View File

@@ -7,6 +7,7 @@ using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Kdbndp; using Kdbndp;
using KdbndpTypes; using KdbndpTypes;
using NpgsqlTypes;
namespace SqlSugar namespace SqlSugar
{ {
@@ -151,6 +152,10 @@ namespace SqlSugar
{ {
sqlParameter.KdbndpDbType = KdbndpDbType.Varchar; sqlParameter.KdbndpDbType = KdbndpDbType.Varchar;
} }
if (parameter.CustomDbType != null && parameter.CustomDbType is NpgsqlDbType)
{
sqlParameter.KdbndpDbType = ((KdbndpDbType)parameter.CustomDbType);
}
++index; ++index;
} }
return result; return result;