From de7ccb7b21e9957ca799507743d6e6e265feb18d Mon Sep 17 00:00:00 2001 From: zyf <1071160500@qq.com> Date: 星期五, 07 三月 2025 16:07:51 +0800 Subject: [PATCH] 新增平板入库检和来料检的查询功能和图像上传功能 --- MESApplication/Controllers/Warehouse/MesDepotSectionsController.cs | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git a/MESApplication/Controllers/Warehouse/MesDepotSectionsController.cs b/MESApplication/Controllers/Warehouse/MesDepotSectionsController.cs index 8819082..0cfbcc2 100644 --- a/MESApplication/Controllers/Warehouse/MesDepotSectionsController.cs +++ b/MESApplication/Controllers/Warehouse/MesDepotSectionsController.cs @@ -16,6 +16,48 @@ /***杩涘叆妯$増绠$悊鍙互淇敼妯$増***/ + //ScanInDepotSectionsName + [HttpPost("ScanInDepotSectionsName")] + public ResponseResult ScanInDepotSectionsName(WarehouseQuery query) + { + try + { + dynamic resultInfos = new ExpandoObject(); + resultInfos.tbBillList = m.ScanInDepotSectionsName(query); + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + + //ScanEditBarcode + [HttpPost("ScanEditBarcode")] + public ResponseResult ScanEditBarcode(WarehouseQuery query) + { + try + { + dynamic resultInfos = new ExpandoObject(); + resultInfos.tbBillList = m.ScanEditBarcode(query); + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + //GetSectionName [HttpPost("GetSectionName")] public ResponseResult GetSectionName(WarehouseQuery query) -- Gitblit v1.9.3