From bf1a9a818ffb721aea2709e9409fbb932b07e81d Mon Sep 17 00:00:00 2001
From: yyk <2336760928@qq.com>
Date: 星期四, 18 七月 2024 15:55:54 +0800
Subject: [PATCH] Merge branch 'master' into yyk

---
 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