From 141b19dbe2eadbb267379cc3820c45adf45d7b8e Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期一, 23 十二月 2024 19:30:56 +0800
Subject: [PATCH] 取消下发更新状态

---
 Tiger.Business.WMS/WMS_ITEM_Biz.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/Tiger.Business.WMS/WMS_ITEM_Biz.cs b/Tiger.Business.WMS/WMS_ITEM_Biz.cs
index c31f406..624e351 100644
--- a/Tiger.Business.WMS/WMS_ITEM_Biz.cs
+++ b/Tiger.Business.WMS/WMS_ITEM_Biz.cs
@@ -43,6 +43,10 @@
                         result.Flag = Result.Flags.Failed;
                         result.LocaleMsg = new("WMS.WmsItem.Barcode.EmptyFailure");
                     }
+                    else if (barcode.IsException)
+                    {
+                        throw barcode.AnalyseException;
+                    }
                     //闈炴硶鏉$爜
                     else if (!barcode.IsRegular)
                     {
@@ -152,6 +156,10 @@
                         result.Flag = Result.Flags.Failed;
                         result.LocaleMsg = new("WMS.WmsItem.Barcode.EmptyFailure");
                     }
+                    else if (barcode.IsException)
+                    {
+                        throw barcode.AnalyseException;
+                    }
                     //闈炴硶鏉$爜
                     else if (!barcode.IsRegular)
                     {

--
Gitblit v1.9.3