From 5d756f53f07880dc8b7ba0bc9f060b9e94d4b25e Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期三, 05 十一月 2025 18:08:34 +0800
Subject: [PATCH] 修改人工入库完成和wcs小车问题
---
新建文件夹/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/DeliveryOrderController.cs | 45 ++++++++++++++++++++++++++++++++-------------
1 files changed, 32 insertions(+), 13 deletions(-)
diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/DeliveryOrderController.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/DeliveryOrderController.cs"
index 9c04bb0..a1e3ba4 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/DeliveryOrderController.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/DeliveryOrderController.cs"
@@ -5,6 +5,7 @@
using WIDESEA_Core.BaseController;
using WIDESEA_ISquareCabinServices;
using WIDESEA_Model.Models;
+using static WIDESEA_DTO.SquareCabin.OrderDto;
namespace WIDESEA_WMSServer.Controllers
{
@@ -15,14 +16,29 @@
public DeliveryOrderController(IDeliveryOrderServices service) : base(service)
{
}
-
-
- [HttpPost,Route("GetUpstreamOutOrder"),AllowAnonymous]
- public WebResponseContent GetUpstreamOutOrder()
+ /// <summary>
+ /// 瀹屾垚鍑哄簱鍗�
+ /// </summary>
+ /// <param name="keys"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("FinishOutOrder"),AllowAnonymous]
+ public WebResponseContent FinishOutOrder(int key)
{
- return Service.GetUpstreamOutOrder();
+ return Service.FinishOutOrder(key);
}
-
+
+ /// <summary>
+ /// 鍒涘缓鐩樼偣浠诲姟
+ /// </summary>
+ /// <param name="keys"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("CreateCheckOrder")]
+ public WebResponseContent CreateCheckOrder([FromBody] int[] keys)
+ {
+ return Service.CreateCheckOrder(keys);
+ }
+
+
/// 鏌ヨ鐩樼偣鍗曚俊鎭�
/// </summary>
/// <returns></returns>
@@ -31,6 +47,8 @@
{
return Service.GetCheckOrders(saveModel);
}
+
+
/// 鏌ヨ鍑哄簱鍗曚俊鎭�
/// </summary>
@@ -47,7 +65,7 @@
[HttpPost, HttpGet, Route("GetDeliveryOrderDetail")]
public WebResponseContent GetDeliveryOrderDetail(int pageNo, string orderNo, bool isPick)
{
- return Service.GetDeliveryOrderDetail(pageNo, orderNo,isPick);
+ return Service.GetDeliveryOrderDetail(pageNo, orderNo, isPick);
}
/// <summary>
/// 瀹屾垚鐩樼偣浠诲姟
@@ -80,17 +98,18 @@
return Service.GetCheckOutTasks(saveModel);
}
+
+
/// <summary>
- /// 鐩樼偣鍑哄簱鎺ュ彛
+ /// 鍑哄簱娴嬭瘯
/// </summary>
- /// <param name="externalOrderNo"></param>
+ /// <param name="outorder"></param>
/// <returns></returns>
- [HttpPost, Route("InventoryGood"), AllowAnonymous]
- public WebResponseContent InventoryGood(string batchNo, string goodsNo)
+ [HttpPost, Route("CreateOutboundOrder"), AllowAnonymous]
+ public WebResponseContent CreateOutboundOrder([FromBody]UpstramOutOrderInfo outorder)
{
- return Service.InventoryGood(batchNo, goodsNo);
+ return Service.CreateOutboundOrder(outorder);
}
-
}
}
--
Gitblit v1.9.3