From c58b5315ae31cc51a3e95a41818299913c0b3002 Mon Sep 17 00:00:00 2001
From: sjz <1240968267@qq.com>
Date: 星期二, 26 八月 2025 14:05:10 +0800
Subject: [PATCH] 首检获取检验项目前删除原有的检验项
---
MESApplication/Controllers/PLM/PLMController.cs | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/MESApplication/Controllers/PLM/PLMController.cs b/MESApplication/Controllers/PLM/PLMController.cs
index a20d80b..fcbaeee 100644
--- a/MESApplication/Controllers/PLM/PLMController.cs
+++ b/MESApplication/Controllers/PLM/PLMController.cs
@@ -122,4 +122,25 @@
});
}
}
+
+ //RetrieveDrawings 璋冨彇鍥剧焊
+ [HttpGet("OpenDrawingsGet")]
+ public IActionResult OpenDrawingsGet(string fileId, string fName)
+ {
+ try
+ {
+ var resultInfos = wdd.SendRequest("Download", fileId);
+
+ return File(resultInfos, "application/octet-stream", fName);
+ }
+ catch (Exception ex)
+ {
+ return StatusCode(500, new ResponseResult
+ {
+ status = 1,
+ message = ex.Message,
+ data = null
+ });
+ }
+ }
}
--
Gitblit v1.9.3