From 91f6c7e052185512e683ae13263fd1d1ebdf724e Mon Sep 17 00:00:00 2001 From: sjz <1240968267@qq.com> Date: 星期三, 05 三月 2025 13:59:03 +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