FlexJobApi.Application/Dictionaries/Queries/DictionaryDatasQueryHandler.cs
@@ -85,9 +85,9 @@ { q = q.Where(it => it.ParentId == request.ParentId); } if (request.CategoryCode == "70" || request.CategoryId == new Guid("B21FE000-BB7F-4498-08E9-08DDD572EF73")) if (request.MaxDeep.HasValue) { q = q.Where(it => it.Deep <= 3); q = q.Where(it => it.Deep <= request.MaxDeep); } if (request.Keywords.IsNotNull()) { FlexJobApi.Core/Models/Main/Dictionaries/Queries/GetDictionaryDataSelectQuery.cs
@@ -37,6 +37,11 @@ /// 查询所有 /// </summary> public bool All { get; set; } /// <summary> /// 最大深度 /// </summary> public int? MaxDeep { get; set; } } public class GetDictionaryDataSelectQueryResultOption