Update Subuquery.ToList

This commit is contained in:
sunkaixuan
2023-08-29 15:50:23 +08:00
parent 12f25d2c7e
commit 1e38460690

View File

@@ -2147,7 +2147,10 @@ namespace SqlSugar
{
if (isFirst)
{
itemProperty.SetValue(item, (subList as IList)[0] );
if ((subList as IList).Count > 0)
{
itemProperty.SetValue(item, (subList as IList)[0]);
}
}
else
{