From 8b67ee8a1b3e954de07014724f94875815c2783a Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期二, 25 三月 2025 18:12:22 +0800
Subject: [PATCH] 111

---
 MESApplication/Controllers/QcIssueResult/QcIssueResultController.cs |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/MESApplication/Controllers/QcIssueResult/QcIssueResultController.cs b/MESApplication/Controllers/QcIssueResult/QcIssueResultController.cs
index 5e0024f..089a715 100644
--- a/MESApplication/Controllers/QcIssueResult/QcIssueResultController.cs
+++ b/MESApplication/Controllers/QcIssueResult/QcIssueResultController.cs
@@ -2,6 +2,7 @@
 using MES.Service.Dto.webApi.QcIssueResult;
 using MES.Service.Modes;
 using MES.Service.Modes.QcIssueResult;
+using MES.Service.Modes.SentLaboratory;
 using MES.Service.service;
 using MES.Service.service.QcIssueResult;
 using MES.Service.util;
@@ -10,6 +11,7 @@
 using Newtonsoft.Json.Linq;
 using System.Diagnostics;
 using System.Dynamic;
+using System.Text.Json.Nodes;
 
 namespace MESApplication.Controllers.QcIssueResult;
 
@@ -37,10 +39,11 @@
             // 璋冪敤 QcIssueResultManager 涓殑 GetProcessNo 鏂规硶鏉ュ惎鍔ㄩ拤閽夊伐浣滄祦瀹炰緥
             string result = m.GetProcessNo(getQcIssueResultDetail);
 
-            string jsonPart = result.Substring(result.IndexOf("{"));
-            Debug.WriteLine(jsonPart);
-            JObject jsonObject = JObject.Parse(jsonPart);
+            string getLaboratoryDetailsJson = JsonConvert.SerializeObject(getQcIssueResultDetail, Formatting.Indented);
+            Debug.WriteLine("getQcIssueResultDetail: " + getLaboratoryDetailsJson);
 
+            string jsonPart = result.Substring(result.IndexOf("{"));
+            JObject jsonObject = JObject.Parse(jsonPart);
             // 鎻愬彇instanceId鐨勫��
             string instanceId = jsonObject["InstanceId"].ToString();
 

--
Gitblit v1.9.3