Update Subquery.ToList

This commit is contained in:
sunkaixuan 2024-03-07 01:23:21 +08:00
parent 105c42cedc
commit 78da0e0c36

View File

@ -818,6 +818,10 @@ namespace SqlSugar
{
propertyInfo.SetValue(addItem, new Guid(kv.Value.ToString()));
}
else if (UtilMethods.GetUnderType(propertyInfo.PropertyType) == typeof(int) && kv.Value is long)
{
propertyInfo.SetValue(addItem, Convert.ToInt32(kv.Value));
}
else
{
propertyInfo.SetValue(addItem, kv.Value);