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