1
z8018
2025-04-16 1f361850d35ba47225951efbc49d592eea685cf8
ÏîÄ¿´úÂë/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));
        }
    }
}