Synchronization code

This commit is contained in:
sunkaixuan
2023-08-29 15:54:39 +08:00
parent 1e38460690
commit 3a99cd8576

View File

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