From 48b7b9a800ea38b69706c2eb595b79afcf9d08ac Mon Sep 17 00:00:00 2001
From: Demo <Demo@DESKTOP-CPA90BF>
Date: 星期四, 07 三月 2024 09:56:34 +0800
Subject: [PATCH] Merge branch 'csc'

---
 Wms/WMS.BLL/BllAsnServer/BllBoxInfoServer.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Wms/WMS.BLL/BllAsnServer/BllBoxInfoServer.cs b/Wms/WMS.BLL/BllAsnServer/BllBoxInfoServer.cs
index 34dfa59..90b0e4b 100644
--- a/Wms/WMS.BLL/BllAsnServer/BllBoxInfoServer.cs
+++ b/Wms/WMS.BLL/BllAsnServer/BllBoxInfoServer.cs
@@ -605,7 +605,7 @@
                     zNum = Convert.ToInt32(pack.L1Num);
                 }
 
-                if (packLevel <= 1)//鍖呰绛夌骇灏忎簬1锛屾寜鐓�1绾ф爣绛炬墦鍗�
+                if (packLevel < 1)//鍖呰绛夌骇灏忎簬1锛屾寜鐓�1绾ф爣绛炬墦鍗�
                 {
                     throw new Exception("鍖呰淇℃伅鏈夎锛屽皬浜庝竴绾�");
                 }
@@ -614,9 +614,9 @@
                 var modelList = new List<BllBoxInfo>();
 
                 var addLotNo = "";
-                if (arriveQty < 0)
+                if (arriveQty <= 0)
                 {
-                    throw new Exception("鍒拌揣鏁伴噺涓嶈兘灏忎簬0!");
+                    throw new Exception("鍒拌揣鏁伴噺涓嶈兘灏忎簬绛変簬0!");
                 }
                 Db.BeginTran();
                 if (packLevel == 1)

--
Gitblit v1.8.0