From 430404d69be9b5d420ad12b9ac087508f1fa2aca Mon Sep 17 00:00:00 2001 From: duyongjia <adu_555@163.com> Date: 星期一, 23 十二月 2024 17:46:40 +0800 Subject: [PATCH] 出入库测试稳定版 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs | 79 +++++++++++++++++++++++++++++++++++++-- 1 files changed, 74 insertions(+), 5 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs" index 6e4397e..3e0ef2d 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs" @@ -41,11 +41,7 @@ return _taskService.MaterielCarry(startPoint); } - [HttpPost, Route("MaterielGroup")] - public WebResponseContent MaterielGroup([FromBody] MaterielGroupDTO materielGroupDTO) - { - return _inboundService.InbounOrderService.MaterielGroup(materielGroupDTO); - } + [HttpPost, Route("QueryOrderInfo")] public WebResponseContent QueryOrderInfo(int pageNo, string orderNo) @@ -107,5 +103,78 @@ var ext = Path.GetExtension(filePath).ToLowerInvariant(); return File(memory, new Dictionary<string, string>{{ ".apk", "application/vnd.android.package-archive" }}[ext], Path.GetFileName(filePath)); } + + /// <summary> + /// 绌烘墭鍏ュ簱 + /// </summary> + /// <param name="PalletCode">鎵樼洏鍙�</param> + /// <returns></returns> + [HttpPost, Route("EmptyInBound"), AllowAnonymous] + public WebResponseContent EmptyInBound(string PalletCode) + { + return _taskService.PalletInboundRequest("R01-001-023-001",PalletCode); + } + + + /// <summary> + /// 绌烘墭鍑哄簱 + /// </summary> + /// <param name="PalletCode">鎵樼洏鍙�</param> + /// <returns></returns> + [HttpPost, Route("EmptyOutBound"), AllowAnonymous] + public WebResponseContent EmptyOutBound() + { + return _taskService.PalletOutboundTask("R01", "R01-001-023-001"); + + } + + /// <summary> + /// 缁勭洏 + /// </summary> + /// <param name="materielGroupDTO"></param> + /// <returns></returns> + [HttpPost, Route("MaterielGroup"), AllowAnonymous] + public WebResponseContent MaterielGroup([FromBody] MaterielGroupDTO materielGroupDTO) + { + return _inboundService.InbounOrderService.MaterielGroup(materielGroupDTO); + } + + /// <summary> + /// 鍘熸枡鍏ュ簱纭 + /// </summary> + /// <param name="PalletCode">鎵樼洏鍙�</param> + /// <returns></returns> + [HttpPost, Route("MaterielInBoundConfirm"), AllowAnonymous] + public WebResponseContent MaterielInBoundConfirm(string palletCode) + { + return _taskService.InboundRequest("R01-001-023-001", palletCode); + } + + /// <summary> + /// 缁勭洏鎾ら攢 + /// </summary> + /// <param name="PalletCode">鎵樼洏鍙�</param> + /// <returns></returns> + [HttpPost, Route("MaterielGroupRevoke"), AllowAnonymous] + public WebResponseContent MaterielGroupRevoke(string PalletCode) + { + return _inboundService.InbounOrderService.MaterielGroupRevoke(PalletCode); + } + + /// <summary> + /// 浣欐枡鍥為��鍏ュ簱纭 + /// </summary> + /// <param name="PalletCode">鎵樼洏鍙�</param> + /// <returns></returns> + [HttpPost, Route("MaterielInBoundReturnConfirm"), AllowAnonymous] + public WebResponseContent MaterielInBoundReturnConfirm([FromBody] string PalletCode) + { + return null; + } + + + + + } } -- Gitblit v1.9.3