李昊 4 年之前
父節點
當前提交
066d6170f9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gx_api/GxPress/Service/GxPress.Service.Implement/Middle/MiddleService.cs

+ 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
                 {