From 6d29ebf5ea086e862a5a7ca513e45af2be69a011 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期五, 10 四月 2026 15:09:57 +0800
Subject: [PATCH] 添康钉钉同步维护

---
 WebAPI/Controllers/MJGL/Sc_MouldInRequestBillController.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/WebAPI/Controllers/MJGL/Sc_MouldInRequestBillController.cs b/WebAPI/Controllers/MJGL/Sc_MouldInRequestBillController.cs
index c049f50..2c1d421 100644
--- a/WebAPI/Controllers/MJGL/Sc_MouldInRequestBillController.cs
+++ b/WebAPI/Controllers/MJGL/Sc_MouldInRequestBillController.cs
@@ -350,11 +350,11 @@
                 if (hmainid <= 0)
                     return new { code = "0", count = 0, Message = "鍗曟嵁ID涓嶈兘涓虹┖锛�" };
 
-                if (newPallet <= 0)
-                    return new { code = "0", count = 0, Message = "鎵樻暟蹇呴』澶т簬0锛�" };
+                if (newPallet < 0)
+                    return new { code = "0", count = 0, Message = "鎵樻暟涓嶈兘涓鸿礋鏁帮紒" };
 
-       
-              
+
+
 
                 // 鐩存帴鏇存柊鎵樻暟
                 string updateSql = $@"

--
Gitblit v1.9.1