From 52d714d74a5b80b351a4270496ae4ba1df3e65d5 Mon Sep 17 00:00:00 2001
From: admin <qiutairan163@163.com>
Date: 星期四, 13 十一月 2025 16:40:13 +0800
Subject: [PATCH] 低库存预警GetInventoryWarning调整逻辑

---
 Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
index d641c57..a2e7b21 100644
--- a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
+++ b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
@@ -1509,7 +1509,7 @@
                         //鏇存柊鍑哄簱鍗�
                         foreach (var d in model.Detail)
                         {
-                            if (d.Qty < 0M)
+                            if (d.Qty <= 0)
                             {
                                 throw new Exception("鍑哄簱鏁版嵁蹇呴』澶т簬0");
                             }

--
Gitblit v1.8.0