From 3dc1554797ce21794a50be251e25ea0d840ff6d4 Mon Sep 17 00:00:00 2001 From: z8018 <1282578289@qq.com> Date: 星期二, 26 八月 2025 14:44:09 +0800 Subject: [PATCH] 1 --- 无仓储层版WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git "a/\346\227\240\344\273\223\345\202\250\345\261\202\347\211\210WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs" "b/\346\227\240\344\273\223\345\202\250\345\261\202\347\211\210WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs" index d416fd1..5bea023 100644 --- "a/\346\227\240\344\273\223\345\202\250\345\261\202\347\211\210WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs" +++ "b/\346\227\240\344\273\223\345\202\250\345\261\202\347\211\210WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs" @@ -1,9 +1,10 @@ -锘縰sing AutoMapper; -using System; +锘縰sing System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using AutoMapper; +using WIDESEAWCS_DTO.System; using WIDESEAWCS_DTO.TaskInfo; using WIDESEAWCS_Model.Models; using WIDESEAWCS_QuartzJob.DTO; @@ -18,8 +19,8 @@ /// </summary> public CustomProfile() { + CreateMap<Sys_Menu, MenuDTO>(); CreateMap<Dt_DeviceInfo,DeviceInfoDTO>(); - CreateMap<WMSTaskDTO, Dt_Task>().ForMember(a => a.WMSId, b => b.MapFrom(b => b.Id)); } } } -- Gitblit v1.9.3