From f1bf3ef09713182d434e22dfd8623ea73e02d6d3 Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期三, 01 四月 2026 15:33:01 +0800
Subject: [PATCH] 1

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

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs
index 1aad5db..897d16a 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs
@@ -25,10 +25,12 @@
             CreateMap<InboundOrderDetailAddDTO, Dt_InboundOrderDetail>().ForMember(x => x.OrderDetailStatus, b => b.MapFrom(b => 0));
             CreateMap<InboundOrderAddDTO, Dt_InboundOrder>();
             CreateMap<Dt_Task, WMSTaskDTO>();
-            CreateMap<MatSerialNumberDTO, Dt_StockInfoDetail>().ForMember(x => x.StockQuantity, b => b.MapFrom(b => b.MaterielQuantity));
+            //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>();
+            CreateMap<OutboundOrderDetailAddDTO, Dt_NewOutboundOrderDetail>().ForMember(x => x.OrderDetailStatus, b => b.MapFrom(b => 0));
+            CreateMap<OutboundOrderAddDTO, Dt_NewOutboundOrder>();
         }
     }
 }

--
Gitblit v1.9.3