This commit is contained in:
sunkaixuan
2023-03-25 17:13:54 +08:00
parent 3e30501e1d
commit 725994008b

View File

@@ -38,7 +38,7 @@ namespace SqlSugar.DbConvert
{
public SugarParameter ParameterConverter<T>(object columnValue, int columnIndex)
{
var name = "@MyEnmu" + columnIndex;
var name = "@Common" + columnIndex;
Type undertype = SqlSugar.UtilMethods.GetUnderType(typeof(T));//获取没有nullable的枚举类型
return new SugarParameter(name, columnValue, undertype);
}