mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update Subuquery.ToList
This commit is contained in:
@@ -2147,7 +2147,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
if (isFirst)
|
if (isFirst)
|
||||||
{
|
{
|
||||||
itemProperty.SetValue(item, (subList as IList)[0] );
|
if ((subList as IList).Count > 0)
|
||||||
|
{
|
||||||
|
itemProperty.SetValue(item, (subList as IList)[0]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user