mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-25 18:29:13 +08:00
OwnsOne BUG
This commit is contained in:
@@ -145,6 +145,10 @@ namespace SqlSugar
|
||||
}
|
||||
foreach (var item in kv.ToList())
|
||||
{
|
||||
if (this.QueryBuilder?.SelectValue?.Equals("1")==true)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
var itemIndex=dataReader.GetOrdinal(item.DbColumnName);
|
||||
if (item.SqlParameterDbType is Type&&item.UnderType.IsEnum && dataReader.GetValue(itemIndex) is string value)
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.1.4.153</version>
|
||||
<version>5.1.4.154-preview01</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>果糖大数据科技</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
||||
Reference in New Issue
Block a user