From 91ead18d0e92b6e1ed916c5159f3431bf2071a56 Mon Sep 17 00:00:00 2001
From: 647556386 <647556386@qq.com>
Date: 星期五, 12 十二月 2025 13:59:40 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/ZhongRui/ALDbanyunxiangmu

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs |   49 +++++++++++++++++++++++++++----------------------
 1 files changed, 27 insertions(+), 22 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 8bf4d4f..55eac51 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"
@@ -66,8 +66,7 @@
 
         [HttpPost, Route("Test"), AllowAnonymous, MethodParamsValidate]
         public async Task<WebResponseContent> Test()
-        {
-
+        {       
             //var originalTask = _taskRepository.Db.Queryable<Dt_Task>().First();
 
             //var result = _task_HtyService.DeleteAndMoveIntoHty(originalTask, OperateTypeEnum.浜哄伐鍒犻櫎);
@@ -91,23 +90,23 @@
             //var  ddddssss = "WSLOT" + DateTime.Now.ToString("yyyyMMddHHmmss") + ssss.ToString().PadLeft(5, '0');
             //erpApiService.GetSuppliersAsync();
 
-            erpApiService.GetMaterialUnitAsync();
+           // erpApiService.GetMaterialUnitAsync();
 
-            var sss = await _invokeMESService.NewMaterielToMes(new WIDESEA_DTO.Basic.MaterielToMesDTO
-            {
-                reqTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
-                reqCode = Guid.NewGuid().ToString(),
-                oldmaterialCode = "b001",
-                newmaterialCode = "Bar01",
-                unit = "A01",
-                operationType = 1,
-                supplyCode = "A0001",
-                batchNo = "A0002",
-                materialCode = "FC00001",
-                warehouseCode = "",
-                factoryArea = "A01",
-                qty =20,
-            });
+            //var sss = await _invokeMESService.NewMaterielToMes(new WIDESEA_DTO.Basic.MaterielToMesDTO
+            //{
+            //    reqTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
+            //    reqCode = Guid.NewGuid().ToString(),
+            //    oldmaterialCode = "b001",
+            //    newmaterialCode = "Bar01",
+            //    unit = "A01",
+            //    operationType = 1,
+            //    supplyCode = "A0001",
+            //    batchNo = "A0002",
+            //    materialCode = "FC00001",
+            //    warehouseCode = "",
+            //    factoryArea = "A01",
+            //    qty =20,
+            //});
 
             //await _eSSApiService.MoveContainerAsync(new WIDESEA_DTO.Basic.MoveContainerRequest
             //{
@@ -120,7 +119,7 @@
             //await  erpApiService.GetMaterialInfoAsync(new WIDESEA_DTO.Basic.MaterialRequest());
 
 
-            return WebResponseContent.Instance.OK(result?1:0 );
+            return WebResponseContent.Instance.OK( );
         }
 
         /// <summary>
@@ -214,10 +213,16 @@
 
         }
 
-        [HttpPost, Route("UndoPalletGroup"), AllowAnonymous, MethodParamsValidate]
-        public WebResponseContent UndoPalletGroup(string palletCode)
+        [HttpPost, Route("UnPalletGroupBarcode"), AllowAnonymous, MethodParamsValidate]
+        public WebResponseContent UnPalletGroupBarcode(string orderNo)
         {
-            return Service.UndoPalletGroup(palletCode);
+            return Service.UnPalletGroupBarcode(orderNo);
+        }
+
+        [HttpPost, Route("UndoPalletGroup"), AllowAnonymous, MethodParamsValidate]
+        public WebResponseContent UndoPalletGroup(string palletCode,string barcode="")
+        {
+            return Service.UndoPalletGroup(palletCode,barcode);
         }
         /// <summary>
         /// 

--
Gitblit v1.9.3