From 8b24ad8df638deaa3fec77c1533c12ce6129eb71 Mon Sep 17 00:00:00 2001
From: xwt <2740516069@qq.com>
Date: 星期一, 09 六月 2025 14:14:20 +0800
Subject: [PATCH] llj紧急放行接口

---
 StandardInterface/MESApplication/Controllers/QC/LljController.cs |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/StandardInterface/MESApplication/Controllers/QC/LljController.cs b/StandardInterface/MESApplication/Controllers/QC/LljController.cs
index 2c242fe..8112f51 100644
--- a/StandardInterface/MESApplication/Controllers/QC/LljController.cs
+++ b/StandardInterface/MESApplication/Controllers/QC/LljController.cs
@@ -273,4 +273,47 @@
             return ResponseResult.ResponseError(ex);
         }
     }
+    [HttpPost("EmergencyRelease")]
+    public ResponseResult EmergencyRelease([FromBody] JObject data)
+    {
+        var id = Convert.ToInt32(data["id"].ToString());
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            var tbBillList = new LljService().EmergencyRelease(id);
+            resultInfos.tbBillList = tbBillList;
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+
+    [HttpPost("WithdrawEmergencyRelease")]
+    public ResponseResult WithdrawEmergencyRelease([FromBody] JObject data)
+    {
+        var id = Convert.ToInt32(data["id"].ToString());
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            var tbBillList = new LljService().WithdrawEmergencyRelease(id);
+            resultInfos.tbBillList = tbBillList;
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3