From b8782b72160d7cf1ec5b58576e149df929dc35d2 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期三, 05 三月 2025 17:25:14 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs | 39 +++++++++++++++++++++++++++++---------- 1 files changed, 29 insertions(+), 10 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs" index 18d085b..8ccb89d 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs" @@ -152,6 +152,35 @@ return _taskService.UploadMesMaterialLotaAcept(model); } /// <summary> + /// MES鎴愬搧鍐呭寘淇℃伅鎺ユ敹 + /// </summary> + /// <param name="model"></param> + /// <returns></returns> + [HttpPost, Route("BagInfoSync"), AllowAnonymous] + public MesResponseContent BagInfoSync([FromBody] Root<MesBagInfoModel> model) + { + return _taskService.BagInfoSync(model.Content); + } + /// <summary> + /// MES鎴愬搧澶栧寘淇℃伅鎺ユ敹 + /// </summary> + /// <param name="model"></param> + /// <returns></returns> + [HttpPost, Route("BoxStockin"), AllowAnonymous] + public MesResponseContent BoxStockin([FromBody] Root<MesBoxInfoModel> model) + { + return _taskService.BoxStockin(model.Content); + } + /// <summary> + /// MES鎴愬搧鍑哄簱鎺ュ彛璋冪敤 + /// </summary> + /// <returns></returns> + [HttpPost, Route("ShipmentOrderSync"), AllowAnonymous] + public WebResponseContent ShipmentOrderSync([FromBody] MesShipmentOrderSync model) + { + return _taskService.ShipmentOrderSync(model); + } + /// <summary> /// 鎴愬搧杩斿伐鎻愬簱 /// </summary> /// <param name="model"></param> @@ -160,16 +189,6 @@ public MesResponseContent RworkTask([FromBody] RworkTaskModel model) { return _taskService.RworkTask(model); - } - /// <summary> - /// MES鎴愬搧鍏ュ簱鍗曟帴鏀� - /// </summary> - /// <param name="model"></param> - /// <returns></returns> - [HttpPost, Route("BagInfoSync"), AllowAnonymous] - public MesResponseContent BagInfoSync([FromBody] Root<MesBagInfoModel> model) - { - return _taskService.BagInfoSync(model.Content); } /// <summary> /// 鐢熸垚MESPP浠撳ぇ鍗峰嚭搴撲换鍔� -- Gitblit v1.9.3