mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update Subquery.ToList
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user