From 60fb2fdfaddceda64b934b2167ca255f8c3579b8 Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期一, 29 十二月 2025 09:49:34 +0800
Subject: [PATCH] 成品库入库

---
 WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs
index 7ae3f61..11c1694 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs
@@ -9,6 +9,7 @@
 using WIDESEA_DTO.Inbound;
 using WIDESEA_DTO.Outbound;
 using WIDESEA_DTO.System;
+using WIDESEA_DTO.Task;
 using WIDESEA_Model.Models;
 
 namespace WIDESEA_WMSServer.Filter
@@ -23,8 +24,9 @@
             CreateMap<Sys_Menu, MenuDTO>();
             CreateMap<InboundOrderDetailAddDTO, Dt_InboundOrderDetail>().ForMember(x => x.OrderDetailStatus, b => b.MapFrom(b => 0));
             CreateMap<InboundOrderAddDTO, Dt_InboundOrder>();
-            CreateMap<MatSerialNumberDTO, Dt_StockInfoDetail>().ForMember(x => x.StockQuantity, b => b.MapFrom(b => b.MaterielQuantity));
-            CreateMap<Dt_StockInfoDetail, Dt_StockQuantityChangeRecord>().ForMember(x => x.SerilNumber, b => b.MapFrom(b => b.SerialNumber)).ForMember(x => x.StockDetailId, b => b.MapFrom(b => b.Id)); 
+            CreateMap<Dt_Task, WMSTaskDTO>();
+            //CreateMap<MatSerialNumberDTO, Dt_StockInfoDetail>().ForMember(x => x.StockQuantity, b => b.MapFrom(b => b.MaterielQuantity));
+            CreateMap<Dt_StockInfoDetail, Dt_StockQuantityChangeRecord>().ForMember(x => x.SerilNumber, b => b.MapFrom(b => b.SerialNumber)).ForMember(x => x.StockDetailId, b => b.MapFrom(b => b.Id));
             CreateMap<OutboundOrderDetailAddDTO, Dt_OutboundOrderDetail>().ForMember(x => x.OrderDetailStatus, b => b.MapFrom(b => 0));
             CreateMap<OutboundOrderAddDTO, Dt_OutboundOrder>();
         }

--
Gitblit v1.9.3