From 4787e12bbe2aeeeb362ec724a047a0a734082268 Mon Sep 17 00:00:00 2001
From: zyf <1071160500@qq.com>
Date: 星期二, 26 八月 2025 13:57:42 +0800
Subject: [PATCH] 临时提交,修改至巡检按用户所属产线显示

---
 MESApplication/Controllers/PLM/PLMController.cs |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/MESApplication/Controllers/PLM/PLMController.cs b/MESApplication/Controllers/PLM/PLMController.cs
index a20d80b..bc17a91 100644
--- a/MESApplication/Controllers/PLM/PLMController.cs
+++ b/MESApplication/Controllers/PLM/PLMController.cs
@@ -122,4 +122,24 @@
             });
         }
     }
+    //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