mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Synchronization code
This commit is contained in:
@@ -474,7 +474,15 @@ namespace SqlSugar
|
||||
}
|
||||
else if (IsArrayItem(readerValues, item))
|
||||
{
|
||||
result.Add(name, DeserializeObject<string[]>(readerValues.First(y => y.Key.EqualCase(item.Name)).Value + ""));
|
||||
var json = readerValues.First(y => y.Key.EqualCase(item.Name)).Value + "";
|
||||
if (json.StartsWith("[{"))
|
||||
{
|
||||
result.Add(name, DeserializeObject<JArray>(json));
|
||||
}
|
||||
else
|
||||
{
|
||||
result.Add(name, DeserializeObject<string[]>(json));
|
||||
}
|
||||
}
|
||||
else if (StaticConfig.EnableAot && item.PropertyType == typeof(Type))
|
||||
{
|
||||
|
Reference in New Issue
Block a user