From f3047bc98b1ace53f1ee09beca82c3864bb5957e Mon Sep 17 00:00:00 2001
From: zjh <2207896513@qq.com>
Date: 星期四, 05 六月 2025 21:10:48 +0800
Subject: [PATCH] 签收送货单api提交

---
 StandardPda/MESApplication/Controllers/QC/LljController.cs |   36 ++++++++++++++++++++++++++++++++----
 1 files changed, 32 insertions(+), 4 deletions(-)

diff --git a/StandardPda/MESApplication/Controllers/QC/LljController.cs b/StandardPda/MESApplication/Controllers/QC/LljController.cs
index 21faab8..7a81a79 100644
--- a/StandardPda/MESApplication/Controllers/QC/LljController.cs
+++ b/StandardPda/MESApplication/Controllers/QC/LljController.cs
@@ -1,4 +1,5 @@
-锘縰sing MES.Service.Dto.service;
+锘縰sing Masuit.Tools;
+using MES.Service.Dto.service;
 using MES.Service.Modes;
 using MES.Service.service.QC;
 using MES.Service.util;
@@ -212,12 +213,13 @@
         try
         {
             new LljService().saveYzxBDlist(id, dt);
+            string[] msg=new LljService().YzxImgVerify(id);
 
             return new ResponseResult
             {
-                status = 0,
-                message = "OK",
-                data = "ok"
+                status = int.Parse( msg[0]),
+                message = msg[1],
+                data = ""
             };
         }
         catch (Exception ex)
@@ -563,4 +565,30 @@
             return ResponseResult.ResponseError(ex);
         }
     }
+
+    /// <summary>
+    /// 閫佽揣鍗曠鏀跺苟鐢熸垚鍒拌揣鍗�
+    /// </summary>
+    /// <param name="id"></param>
+    /// <returns></returns>
+    [HttpPost("SignDelivery")]
+    public async Task<ResponseResult> SignDelivery(string id)
+    {
+        try
+        {
+
+             //string[] msg = new LljService().SaveSysSubmit(sysSubmit);
+            string[] msg= await new LljService().SignDelivery(id);
+            return new ResponseResult
+            {
+                status = int.Parse(msg[0]),
+                message = msg[1],
+                data = msg[1]
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3