lihao 4 years ago
parent
commit
1f87055795

+ 1 - 1
gx_api/GxPress/Repository/GxPress.Repository.Implement/MiddleRepository.cs

@@ -261,7 +261,7 @@ namespace GxPress.Repository.Implement
             query.Where(nameof(Entity.Middle.Middle.UserId), userId);
             query.Where(nameof(Entity.Middle.Middle.AttributeValue), 2);
             query.Where(nameof(Entity.Middle.Middle.IsSystemDefault), true);
-            query.Where(nameof(Entity.Middle.Middle.FolderType), GxPress.EnumConst.AllTypeConst.Note.GetHashCode());
+            query.Where(nameof(Entity.Middle.Middle.FolderType), GxPress.EnumConst.AllTypeConst.TopicNote.GetHashCode());
             return await _repository.GetAsync<int>(query);
         }
         public async Task<IEnumerable<Middle>> FindAsync(InboxSearchRequest request)