From 8c5cc69cb04feef035f27e05cbaabda42bd8155c Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期四, 21 八月 2025 16:58:44 +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