李昊 il y a 4 ans
Parent
commit
b03ad34111
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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>();
         }
     }
 }