From 8745fb2b4824979aad955a9835decdb849fe278d Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期日, 03 十一月 2024 22:24:01 +0800
Subject: [PATCH] 更新箱号,获取箱号

---
 Tiger.Controllers.MES/Controllers/MESController.BIZ_MES_WO.cs |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/Tiger.Controllers.MES/Controllers/MESController.BIZ_MES_WO.cs b/Tiger.Controllers.MES/Controllers/MESController.BIZ_MES_WO.cs
index c050994..a9f9edf 100644
--- a/Tiger.Controllers.MES/Controllers/MESController.BIZ_MES_WO.cs
+++ b/Tiger.Controllers.MES/Controllers/MESController.BIZ_MES_WO.cs
@@ -161,6 +161,22 @@
             return Ok(response);
         }
 
+        [HttpPost]
+        [Route("api/[controller]/[action]")]
+        public async Task<IActionResult> SavePrintLabelInAct([FromBody] ApiAction action)
+        {
+            ApiAction response = new();
+            try
+            {
+                response = response.GetResponse(await DI.Resolve<IBIZ_MES_WO>().SavePrintLabelInAct(action.Data?.ToString()));
+            }
+            catch (System.Exception ex)
+            {
+                response = response.GetResponse().CatchExceptionWithLog(ex);
+            }
+            return Ok(response);
+        }
+
         /// <summary>
         /// 鑾峰彇閲嶆墦鏍囩淇℃伅
         /// </summary>

--
Gitblit v1.9.3