From e98b07c84a2a496da895ef6b523b29ccc75e004d Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期五, 23 八月 2024 11:27:01 +0800 Subject: [PATCH] 更新QuartzJob种子数据插入 --- WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs b/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs index 0387caf..d416fd1 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using WIDESEAWCS_DTO.TaskInfo; using WIDESEAWCS_Model.Models; using WIDESEAWCS_QuartzJob.DTO; using WIDESEAWCS_QuartzJob.Models; @@ -18,6 +19,7 @@ public CustomProfile() { CreateMap<Dt_DeviceInfo,DeviceInfoDTO>(); + CreateMap<WMSTaskDTO, Dt_Task>().ForMember(a => a.WMSId, b => b.MapFrom(b => b.Id)); } } } -- Gitblit v1.9.3