From f13e86634f2ba3d88dc59f5193c106ba660c6f7b Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Fri, 19 Jan 2024 14:58:27 +0800 Subject: [PATCH] Synchronization code --- Src/Asp.Net/SqlSugar/Entities/DefaultCustom.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlSugar/Entities/DefaultCustom.cs b/Src/Asp.Net/SqlSugar/Entities/DefaultCustom.cs index a8975a812..28cf33386 100644 --- a/Src/Asp.Net/SqlSugar/Entities/DefaultCustom.cs +++ b/Src/Asp.Net/SqlSugar/Entities/DefaultCustom.cs @@ -11,7 +11,7 @@ namespace SqlSugar.DbConvert { public SugarParameter ParameterConverter(object columnValue, int columnIndex) { - var name = "@MyEnmu" + columnIndex; + var name = "@MyEnum" + columnIndex; Type undertype = SqlSugar.UtilMethods.GetUnderType(typeof(T));//获取没有nullable的枚举类型 if (columnValue == null) {