From aa9198ffa4bf42d96628d4d781e9ef055d65b06e Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期四, 04 九月 2025 15:54:11 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetAreaSelectQuery.cs | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetAreaSelectQuery.cs b/FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetAreaSelectQuery.cs index 51328c0..1e24a50 100644 --- a/FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetAreaSelectQuery.cs +++ b/FlexJobApi.Core/Models/CommonServer/Dictionaries/Queries/GetAreaSelectQuery.cs @@ -14,7 +14,7 @@ /// <summary> /// 鏌ヨ鍦板尯閫夋嫨鍣� /// </summary> - [Resource([EnumResourceController.Dictionary], AllowAnonymous = true)] + [Resource([EnumResourceController.FlexJobServerDictionary], AllowAnonymous = true)] public class GetAreaSelectQuery : IRequest<List<GetAreaSelectQueryResultOption>> { /// <summary> @@ -51,7 +51,15 @@ /// <summary> /// 瀛愮骇 /// </summary> - public List<GetAreaSelectQueryResultOption> Children => Data.Children.Adapt<List<GetAreaSelectQueryResultOption>>(); + public List<GetAreaSelectQueryResultOption> Children + { + get + { + var children = Data.Children.Adapt<List<GetAreaSelectQueryResultOption>>(); + if (children.IsNull()) return null; + else return children; + } + } /// <summary> /// Id -- Gitblit v1.9.1