1
sjz
2025-03-25 ac9147ee014041a8c01f27700389736ce8e242f5
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();