From cfe19c291c3c8362372c60a10f1d5a11927639f8 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期三, 17 七月 2024 17:00:29 +0800
Subject: [PATCH] Merge branch 'hwh'

---
 Wms/Wms/Controllers/BllAsnController.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Wms/Wms/Controllers/BllAsnController.cs b/Wms/Wms/Controllers/BllAsnController.cs
index 01530c4..d92a29a 100644
--- a/Wms/Wms/Controllers/BllAsnController.cs
+++ b/Wms/Wms/Controllers/BllAsnController.cs
@@ -168,6 +168,10 @@
                 {
                     throw new Exception("鏈幏鍙栧埌鐢ㄦ埛淇℃伅");
                 }
+                if (string.IsNullOrWhiteSpace(model.ASNNo)) 
+                {
+                    throw new Exception("鍗曟嵁鍙蜂笉鍙负null!");
+                }
 
                 model.CreateUser = int.Parse(UserId);
                 string strMesage = _arrivalNoticeSvc.EditArrivalNotice(model);

--
Gitblit v1.8.0