李昊 4 rokov pred
rodič
commit
066d6170f9

+ 1 - 1
gx_api/GxPress/Service/GxPress.Service.Implement/Middle/MiddleService.cs

@@ -841,7 +841,7 @@ namespace GxPress.Service.Implement.Middle
             var connection = database.GetConnection();
             var middles = await connection.QueryAsync<Entity.Middle.Middle>(sql);
             List<MiddleSearchFolderResult> result = new List<MiddleSearchFolderResult>();
-            if (request.TypeId == AllTypeConst.TopicNote.GetHashCode())
+            if (request.TypeId == AllTypeConst.TopicNote.GetHashCode() && request.ParentId == 0)
             {
                 result.Add(new MiddleSearchFolderResult
                 {