Browse Source

Update nav query bug

pull/30/head
sunkaixuan 2 years ago
parent
commit
d343e79704
  1. 2
      Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/NavigatManager.cs

2
Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/NavigatManager.cs

@ -337,7 +337,7 @@ namespace SqlSugar
ConditionalType = ConditionalType.In,
FieldName = navPkColumn.DbColumnName,
FieldValue = String.Join(",", ids),
CSharpTypeName = navObjectNameColumnInfo.PropertyInfo.PropertyType.Name
CSharpTypeName = navPkColumn.PropertyInfo.PropertyType.Name
}));
if (list.Any()&&navObjectNamePropety.GetValue(list.First()) == null)
{

Loading…
Cancel
Save