From 646ac6f3e1e77d0481e46ea15a6eb6db4ecba065 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期一, 23 六月 2025 13:17:23 +0800
Subject: [PATCH] 11

---
 MESApplication/Controllers/QC/XJController.cs |   36 +++++++++++++++++++++++++++++++++---
 1 files changed, 33 insertions(+), 3 deletions(-)

diff --git a/MESApplication/Controllers/QC/XJController.cs b/MESApplication/Controllers/QC/XJController.cs
index e43cb9f..bc19dfd 100644
--- a/MESApplication/Controllers/QC/XJController.cs
+++ b/MESApplication/Controllers/QC/XJController.cs
@@ -4,6 +4,7 @@
 using MES.Service.service.QC;
 using MES.Service.util;
 using Microsoft.AspNetCore.Mvc;
+using Microsoft.Data.SqlClient.Server;
 using Newtonsoft.Json.Linq;
 
 namespace MESApplication.Controllers.QC;
@@ -82,7 +83,9 @@
     }
 
 
-    //getDaa001
+    /// <summary>
+    ///     鑾峰彇宸ュ崟
+    /// </summary>
     [HttpPost("getDaa001")]
     public ResponseResult getDaa001([FromBody] JObject data)
     {
@@ -107,7 +110,10 @@
         }
     }
 
-    //getBoardItem
+    /// <summary>
+    ///     鏍规嵁浜х嚎鑾峰彇鐗╂枡缂栫爜  lineNo
+    /// </summary>
+    /// <returns></returns>
     [HttpPost("getBoardItem")]
     public ResponseResult getBoardItem([FromBody] JObject data)
     {
@@ -159,9 +165,10 @@
     [HttpPost("setJYItem")]
     public ResponseResult setJYItem([FromBody] JObject data)
     {
-        var itemNo = data["itemNo"].ToString();
+        var itemNo = "XJ001";
         try
         {
+
             dynamic resultInfos = new ExpandoObject();
             var tbBillList =
                 new XJService().setJYItem(itemNo);
@@ -392,6 +399,29 @@
         }
     }
 
+
+    //saveCommentGid
+    [HttpPost("saveCommentGid")]
+    public ResponseResult saveCommentGid([FromBody] XJDto rkjDto)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            var tbBillList =
+                new XJService().saveCommentGid(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] XJDto rkjDto)

--
Gitblit v1.9.3