From 103ce5f7a924b7280b360ecacf6db7d08884e86d Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期二, 20 一月 2026 13:34:40 +0800
Subject: [PATCH] 1

---
 WebAPI/Controllers/MJGL/Sc_MouldProdOutBillController.cs |   21 +--------------------
 1 files changed, 1 insertions(+), 20 deletions(-)

diff --git a/WebAPI/Controllers/MJGL/Sc_MouldProdOutBillController.cs b/WebAPI/Controllers/MJGL/Sc_MouldProdOutBillController.cs
index 9e86f3a..1ae2277 100644
--- a/WebAPI/Controllers/MJGL/Sc_MouldProdOutBillController.cs
+++ b/WebAPI/Controllers/MJGL/Sc_MouldProdOutBillController.cs
@@ -355,26 +355,7 @@
                     return new { code = "0", count = 0, Message = "鎵樻暟蹇呴』澶т簬0锛�" };
 
 
-                string checkAuditSql = $@"
-                    SELECT HBillStatus 
-                    FROM Sc_MouldStockBillMain
-                    WHERE HInterID = {hmainid}";
-
-                DataSet dsAudit = oCn.RunProcReturn(checkAuditSql, "CheckAudit");
-
-                if (dsAudit != null && dsAudit.Tables[0].Rows.Count > 0)
-                {
-                    int hBillStatus = Convert.ToInt32(dsAudit.Tables[0].Rows[0]["HBillStatus"]);
-              
-                    if (hBillStatus == 2)
-                    {
-                        return new { code = "0", count = 0, Message = "鍗曟嵁宸插鏍革紝涓嶈兘淇敼鎵樻暟锛�" };
-                    }
-                }
-                else
-                {
-                    return new { code = "0", count = 0, Message = "鍗曟嵁涓嶅瓨鍦紒" };
-                }
+     
 
                 // 鐩存帴鏇存柊鎵樻暟
                 string updateSql = $@"

--
Gitblit v1.9.1