From 97073e9e6d03114221436ee0aa1e143d6e2c4a09 Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期一, 04 八月 2025 13:07:39 +0800
Subject: [PATCH] 出入库代码逻辑优化
---
WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs | 33 +++++++++++++++++++++++++++++----
1 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs
index a867b6f..a5abbcc 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs
@@ -18,22 +18,47 @@
{
}
- [HttpPost, Route("AddInboundOrder"), AllowAnonymous]
- public WebResponseContent AddInboundOrder([FromBody] InboundOrderAddDTO orderAddDTO)
+ /// <summary>
+ /// 鏌ヨ鍏ュ簱鍗曚俊鎭�
+ /// </summary>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("GetInboundOrders")]
+ public WebResponseContent GetInboundOrders([FromBody] SaveModel saveModel)
{
- return Service.AddInboundOrder(orderAddDTO);
+ return Service.GetInboundOrders(saveModel);
}
+ /// <summary>
+ /// WMS涓嬪彂鍏ュ簱鍗曟嵁
+ /// </summary>
+ /// <param name="orderAddDTO"></param>
+ /// <returns></returns>
[HttpPost, Route("AddInboundOrders"), AllowAnonymous]
public WebResponseContent AddInboundOrders([FromBody] HouseInbound orderAddDTO)
{
return Service.AddInboundOrders(orderAddDTO);
}
+
+ [HttpPost, HttpGet, Route("MaterielGroup")]
+ public WebResponseContent MaterielGroup([FromBody] SaveModel saveModel)
+ {
+ return Service.MaterielGroup(saveModel);
+ }
+
+ /// <summary>
+ /// 鐩樼偣瀹屾垚鍏ュ簱
+ /// </summary>
+ /// <param name="name"></param>
+ /// <returns></returns>
[HttpPost, Route("InventoryIn"), AllowAnonymous]
public WebResponseContent InventoryIn([FromBody] string name)
{
return Service.InventoryIn(name);
}
-
+ /// <summary>
+ /// 鍏ュ簱鍗曟嵁鍙栨秷
+ /// </summary>
+ /// <param name="houseCancelIn"></param>
+ /// <returns></returns>
[HttpPost, Route("CancelIn"), AllowAnonymous]
public WebResponseContent CancelIn([FromBody] HouseCancelIn houseCancelIn)
{
--
Gitblit v1.9.3