From 1f361850d35ba47225951efbc49d592eea685cf8 Mon Sep 17 00:00:00 2001 From: z8018 <1282578289@qq.com> Date: 星期三, 16 四月 2025 17:35:53 +0800 Subject: [PATCH] 1 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs" index 1e40375..8f4e81d 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs" @@ -17,11 +17,11 @@ /// <summary> /// 閰嶇疆鏋勯�犲嚱鏁帮紝鐢ㄦ潵鍒涘缓鍏崇郴鏄犲皠 /// </summary> - public CustomProfile() + public CustomProfile() { CreateMap<Sys_Menu, MenuDTO>(); - CreateMap<Dt_DeviceInfo,DeviceInfoDTO>(); - CreateMap<Dt_Container, Dt_OrderContainer>().ForMember(a => a.ContainerId, b => b.MapFrom(b => b.Id)); + CreateMap<Dt_DeviceInfo, DeviceInfoDTO>(); + CreateMap<Dt_Container, Dt_OrderContainer>().ForMember(a => a.ContainerId, b => b.MapFrom(b => b.Id)).ForMember(a => a.MaxLength, b => b.MapFrom(b => b.ContainerLength)); } } } -- Gitblit v1.9.3