Synchronization code

This commit is contained in:
sunkaixuan
2023-05-12 22:34:22 +08:00
parent 194aec1df2
commit 77f1a9ca9b

View File

@@ -317,6 +317,10 @@ namespace SqlSugar
{
method = isNullableType ? getOtherNull.MakeGenericMethod(bindPropertyType) : getOther.MakeGenericMethod(bindPropertyType);
}
else if (bindPropertyType == UtilConstants.StringType&&validPropertyName == "int")
{
method = isNullableType ? getOtherNull.MakeGenericMethod(bindPropertyType) : getOther.MakeGenericMethod(bindPropertyType);
}
else if (bindPropertyType == UtilConstants.StringType)
{
method = getString;