李昊 4 years ago
parent
commit
b03ad34111
1 changed files with 1 additions and 0 deletions
  1. 1 0
      gx_api/GxPress/Model/GxPress.Mappings/DepartmentMapping.cs

+ 1 - 0
gx_api/GxPress/Model/GxPress.Mappings/DepartmentMapping.cs

@@ -10,6 +10,7 @@ namespace GxPress.Mappings
         {
             CreateMap<Department, DepartmentTreeResult>();
             CreateMap<Department, DepartmentResult>();
+            CreateMap<DepartmentResult, DepartmentTreeResult>();
         }
     }
 }