From cee4e362c81af4c93c87f40e77649e9af5a591c6 Mon Sep 17 00:00:00 2001 From: zyf <1071160500@qq.com> Date: 星期一, 02 六月 2025 20:05:54 +0800 Subject: [PATCH] 修改工单生产数量更新的逻辑,现在只有检验合格的才更新生产数量,清除检验合格的结果也会更新 --- MESApplication/Controllers/Warehouse/MesInvItemBarcodesController.cs | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/MESApplication/Controllers/Warehouse/MesInvItemBarcodesController.cs b/MESApplication/Controllers/Warehouse/MesInvItemBarcodesController.cs index b783353..e0c9138 100644 --- a/MESApplication/Controllers/Warehouse/MesInvItemBarcodesController.cs +++ b/MESApplication/Controllers/Warehouse/MesInvItemBarcodesController.cs @@ -1,4 +1,5 @@ 锘縰sing System.Dynamic; +using MES.Service.Dto.service; using MES.Service.Modes; using MES.Service.service.Warehouse; using MES.Service.util; @@ -15,6 +16,56 @@ /***杩涘叆妯$増绠$悊鍙互淇敼妯$増***/ + //GetBarCodesQuan + /// <summary> + /// 鏍规嵁鏉$爜鑾峰彇鏁伴噺 + /// </summary> + /// <returns></returns> + [HttpPost("GetBarCodesQuan")] + public ResponseResult GetBarCodesQuan(WarehouseQuery query) + { + try + { + dynamic resultInfos = new ExpandoObject(); + resultInfos.tbBillList = m.GetBarCodesQuan(query); + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + + //PrcRfPdaProdPickItem3 + /// <summary> + /// 鐢熶骇棰嗘枡鍗曚繚瀛� + /// </summary> + /// <returns></returns> + [HttpPost("ProdPickItem3")] + public ResponseResult ProdPickItem3(WarehouseQuery query) + { + try + { + dynamic resultInfos = new ExpandoObject(); + resultInfos.tbBillList = m.PrcRfPdaProdPickItem3(query); + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + /// <summary> /// 鑾峰彇鎵�鏈� /// </summary> -- Gitblit v1.9.3