From 7da6f394864ba0412c1ac58ba7752862de7d3f3d Mon Sep 17 00:00:00 2001 From: z8018 <1282578289@qq.com> Date: 星期二, 06 五月 2025 10:41:48 +0800 Subject: [PATCH] 1 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs | 8 +++----- 1 files changed, 3 insertions(+), 5 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 a136136..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" @@ -5,7 +5,6 @@ using System.Text; using System.Threading.Tasks; using WIDESEA_DTO.System; -using WIDESEAWCS_DTO.TaskInfo; using WIDESEAWCS_Model.Models; using WIDESEAWCS_QuartzJob.DTO; using WIDESEAWCS_QuartzJob.Models; @@ -18,12 +17,11 @@ /// <summary> /// 閰嶇疆鏋勯�犲嚱鏁帮紝鐢ㄦ潵鍒涘缓鍏崇郴鏄犲皠 /// </summary> - public CustomProfile() + public CustomProfile() { CreateMap<Sys_Menu, MenuDTO>(); - CreateMap<Dt_DeviceInfo,DeviceInfoDTO>(); - CreateMap<WMSTaskDTO, Dt_Task>().ForMember(a => a.WMSId, b => b.MapFrom(b => b.Id)); - CreateMap<Dt_Task, ConveyorLineTaskCommand>().ForMember(a => a.TargetAddress, b => b.MapFrom(b => b.NextAddress)).ForMember(a => a.Barcode, b => b.MapFrom(b => b.PalletCode)).ForMember(a => a.TaskNum, b => b.MapFrom(b => b.TaskNum)); + 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