From d84ac8a7ee3121b791d8d4d59ab6f2b766796948 Mon Sep 17 00:00:00 2001 From: cnf <3200815559@qq.com> Date: 星期一, 24 三月 2025 13:45:34 +0800 Subject: [PATCH] 异常处置单完成 --- MESApplication/Controllers/ProductionOrder/ProductionOrderController.cs | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/MESApplication/Controllers/BasicData/ProductionOrderController.cs b/MESApplication/Controllers/ProductionOrder/ProductionOrderController.cs similarity index 87% rename from MESApplication/Controllers/BasicData/ProductionOrderController.cs rename to MESApplication/Controllers/ProductionOrder/ProductionOrderController.cs index ead2d1d..1e94132 100644 --- a/MESApplication/Controllers/BasicData/ProductionOrderController.cs +++ b/MESApplication/Controllers/ProductionOrder/ProductionOrderController.cs @@ -1,8 +1,11 @@ 锘縰sing MES.Service.Dto.webApi; using MES.Service.Dto.webApi.DeliveryNote; +using MES.Service.Dto.webApi.ProductionOrder; using MES.Service.Modes; +using MES.Service.Modes.ProductionOrder; using MES.Service.Modes.QcIssueResult; using MES.Service.service; +using MES.Service.service.ProductionOrder; using MES.Service.util; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; @@ -10,7 +13,7 @@ using System.Diagnostics; using System.Dynamic; -namespace MESApplication.Controllers.BasicData; +namespace MESApplication.Controllers.ProductionOrder; [ApiController] [Route("api/ProductionOrder")] @@ -136,12 +139,17 @@ } [HttpPost("GetFileUrl")] - public IActionResult StartGetUrl() { + public IActionResult StartGetUrl(string imageUrl) + { try { // 璋冪敤 QcIssueResultManager 涓殑 GetProcessNo 鏂规硶鏉ュ惎鍔ㄩ拤閽夊伐浣滄祦瀹炰緥 - string result = m.GetFileUrl(); + + //string result = m.GetSpaceId(); + //ResultDataAndSpaceId resultData = JsonConvert.DeserializeObject<ResultDataAndSpaceId>(result); + //string SpaceId = resultData.Result.SpaceId; + //string result = m.GetPermissions(); //string jsonPart = result.Substring(result.IndexOf("{")); //Debug.WriteLine(jsonPart); @@ -155,6 +163,9 @@ ////var save = m.SaveProcessNo(ReleaseNo, instanceId); ////resultInfos.tbBillList = save; + Debug.WriteLine(imageUrl); + string result = m.GetFileUrl(imageUrl); + Debug.WriteLine(result); return Ok(result); } catch (Exception ex) -- Gitblit v1.9.3