From a376d24964db749ed38a5873d2e6aaa1b82b2e83 Mon Sep 17 00:00:00 2001 From: sjz <1240968267@qq.com> Date: 星期四, 13 二月 2025 18:04:41 +0800 Subject: [PATCH] 调取plm接口 返回文件流给前端 --- 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