From 599880d3c0b28edc1aee1739d83185e5c6bf9694 Mon Sep 17 00:00:00 2001
From: heshaofeng <heshaofeng@hnkhzn.com>
Date: 星期三, 26 十一月 2025 09:13:30 +0800
Subject: [PATCH] 提交

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs |   35 +++++++++++++++++++++++++++--------
 1 files changed, 27 insertions(+), 8 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_WMSServer/Controllers/Inbound/InboundOrderController.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_WMSServer/Controllers/Inbound/InboundOrderController.cs"
index 6b5cd67..ce96600 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_WMSServer/Controllers/Inbound/InboundOrderController.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_WMSServer/Controllers/Inbound/InboundOrderController.cs"
@@ -30,7 +30,7 @@
         private readonly WIDESEA_IBasicService.IErpApiService erpApiService;
 
         private readonly WIDESEA_IBasicService.IInvokeMESService _invokeMESService;
-
+ 
         private readonly IESSApiService _eSSApiService;
         private readonly ILocationInfoService _locationInfoService;
         private readonly IDailySequenceService _dailySequenceService;
@@ -50,13 +50,14 @@
         [HttpPost, Route("Test"), AllowAnonymous, MethodParamsValidate]
         public async Task<WebResponseContent> Test()
         {
-            var purchaseToStockResult = await _materialUnitService.ConvertPurchaseToStockAsync("101001-00002", 10);
+           // var purchaseToStockResult = await _materialUnitService.ConvertPurchaseToStockAsync("101001-00002", 10);
 
-            var pdddurchaseToStockResult = await _materialUnitService.ConvertPurchaseToStockAsync("100513-00210", 10);
+           // var pdddurchaseToStockResult = await _materialUnitService.ConvertPurchaseToStockAsync("100513-00210", 10);
 
-            var sddd = _locationInfoService.AssignLocation();
-            var code = sddd.LocationCode;
-            // await _dailySequenceService.GetNextSequenceAsync();
+            //var sddd = _locationInfoService.AssignLocation();
+            //var code = sddd.LocationCode;
+            //var ssss=await _dailySequenceService.GetNextSequenceAsync();
+            //var  ddddssss = "WSLOT" + DateTime.Now.ToString("yyyyMMddHHmmss") + ssss.ToString().PadLeft(5, '0');
             //erpApiService.GetSuppliersAsync();
 
             //erpApiService.GetMaterialUnitAsync();
@@ -79,7 +80,7 @@
             //await _eSSApiService.MoveContainerAsync(new WIDESEA_DTO.Basic.MoveContainerRequest
             //{
             //    slotCode = "3-5",
-            //    containerCode = "A000008002"
+            //    containerCode = "A000008009"
             //});
 
             //await erpApiService.GetSuppliersAsync();
@@ -87,7 +88,7 @@
             //await  erpApiService.GetMaterialInfoAsync(new WIDESEA_DTO.Basic.MaterialRequest());
 
 
-            return WebResponseContent.Instance.OK(code);
+            return WebResponseContent.Instance.OK();
         }
 
         /// <summary>
@@ -180,6 +181,12 @@
             return content;
 
         }
+
+        [HttpPost, Route("UndoPalletGroup"), AllowAnonymous, MethodParamsValidate]
+        public WebResponseContent UndoPalletGroup(string palletCode)
+        {
+            return Service.UndoPalletGroup(palletCode);
+        }
         /// <summary>
         /// 
         /// </summary>
@@ -194,5 +201,17 @@
 
         }
 
+        [HttpPost, Route("UnPalletQuantity"), AllowAnonymous, MethodParamsValidate]
+        public WebResponseContent UnPalletQuantity(string orderNo)
+        {
+            return Service.UnPalletQuantity(orderNo);
+        }
+
+        [HttpPost, Route("BatchOrderFeedbackToMes"), AllowAnonymous]
+        public async Task<WebResponseContent> BatchOrderFeedbackToMes([FromBody]  BatchOrderFeedbackToMesDto request)
+        {
+           return await _invokeMESService.BatchOrderFeedbackToMes(request.orderNos, request.inout);
+        }
+
     }
 }

--
Gitblit v1.9.3