mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
Update subquery.tolist bug
This commit is contained in:
@@ -340,6 +340,7 @@ namespace SqlSugar
|
||||
Dictionary<string, object> result = DataReaderToList(reader, tType, classProperties, reval);
|
||||
var stringValue = SerializeObject(result);
|
||||
reval.Add((T)DeserializeObject<T>(stringValue));
|
||||
SetAppendColumns(reader);
|
||||
}
|
||||
}
|
||||
return reval;
|
||||
@@ -430,7 +431,7 @@ namespace SqlSugar
|
||||
{
|
||||
Dictionary<string, object> result = DataReaderToList(reader, tType, classProperties, reval);
|
||||
var stringValue = SerializeObject(result);
|
||||
reval.Add((T)DeserializeObject<T>(stringValue));
|
||||
reval.Add((T)DeserializeObject<T>(stringValue));
|
||||
}
|
||||
}
|
||||
return reval;
|
||||
|
||||
Reference in New Issue
Block a user