| | |
| | | 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; |
| | |
| | | using Newtonsoft.Json.Linq; |
| | | using System.Diagnostics; |
| | | using System.Dynamic; |
| | | using System.Text.Json.Nodes; |
| | | |
| | | namespace MESApplication.Controllers.QcIssueResult; |
| | | |
| | |
| | | // 调用 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(); |
| | | |