From ec15cf34499727cbd0e75be96c9793dd824a06c0 Mon Sep 17 00:00:00 2001
From: pan <antony1029@163.com>
Date: 星期三, 12 十一月 2025 10:09:23 +0800
Subject: [PATCH] 提交

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_BasicService/InvokeMESService.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_BasicService/InvokeMESService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_BasicService/InvokeMESService.cs"
index d010d39..51b35eb 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_BasicService/InvokeMESService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_BasicService/InvokeMESService.cs"
@@ -200,7 +200,7 @@
                                         business_type = inboundOrder.BusinessType,
                                         factoryArea = inboundOrder.FactoryArea,
                                         operationType=1,
-                                        Operator= stockinfos?.OrderByDescending(x=>x.CreateDate).FirstOrDefault()?.Creater??"",
+                                        Operator= inboundOrder.Operator,
                                         orderNo = inboundOrder.UpperOrderNo,
                                         status = inboundOrder.OrderStatus,
                                         details = new List<FeedbackInboundDetailsModel>()
@@ -215,7 +215,7 @@
                                            batchNo = group.Key.BatchNo,
                                            lineNo = group.Key.InboundOrderRowNo,
                                            // warehouseCode = group.Key.WarehouseCode=="0"?"1072": group.Key.WarehouseCode,
-                                           warehouseCode = "1072",
+                                           warehouseCode =group.Key.WarehouseCode,
                                            unit = group.Key.Unit,
                                            barcodes = group.Select(row => new FeedbackBarcodesModel
                                            {

--
Gitblit v1.9.3