From d6b12fe74eaee1b68ca518507749ee5989503ef6 Mon Sep 17 00:00:00 2001
From: xwt <2740516069@qq.com>
Date: 星期四, 07 八月 2025 21:04:09 +0800
Subject: [PATCH] 来料检接口修改

---
 StandardInterface/MESApplication/Controllers/QC/LljController.cs |   49 +++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 47 insertions(+), 2 deletions(-)

diff --git a/StandardInterface/MESApplication/Controllers/QC/LljController.cs b/StandardInterface/MESApplication/Controllers/QC/LljController.cs
index f45a36d..a206bee 100644
--- a/StandardInterface/MESApplication/Controllers/QC/LljController.cs
+++ b/StandardInterface/MESApplication/Controllers/QC/LljController.cs
@@ -204,6 +204,51 @@
         }
     }
 
+    //savePhsyGid 涓昏〃娣诲姞鐮村潖瀹為獙
+    [HttpPost("savePhsyGid")]
+    public ResponseResult savePhsyGid([FromBody] LLJDto rkjDto)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            var tbBillList =
+                new LljService().savePhsyGid(rkjDto);
+            resultInfos.tbBillList = tbBillList;
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+    [HttpPost("saveDropdownFields")]
+    public ResponseResult saveDropdownFields([FromBody] LLJDto rkjDto)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            var tbBillList =
+                new LljService().saveDropdownFields(rkjDto);
+            resultInfos.tbBillList = tbBillList;
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
     //saveRemarksPid 瀛愯〃娣诲姞涓嶅悎鏍兼弿杩�
     [HttpPost("saveRemarksPid")]
     public ResponseResult saveRemarksPid([FromBody] LLJDto rkjDto)
@@ -320,11 +365,11 @@
     [HttpPost("getAttachments")]
     public ResponseResult GetAttachments([FromBody] JObject data)
     {
-        var releaseNo = data["releaseNo"]?.ToString();
+        var itemNo = data["itemNo"]?.ToString();
         try
         {
             dynamic resultInfos = new System.Dynamic.ExpandoObject();
-            var tbBillList = new LljService().GetAttachments(releaseNo);
+            var tbBillList = new LljService().GetAttachments(itemNo);
             if (tbBillList == null || tbBillList.Count == 0)
             {
                 return new ResponseResult

--
Gitblit v1.9.3