diff --git a/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/NavigatManager.cs b/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/NavigatManager.cs index f040887c5..8f76f1f71 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/NavigatManager.cs +++ b/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) {