From 1d2b40eb2d8d8f8cf2bf31111057b4d584728f7a Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期四, 18 七月 2024 16:07:18 +0800 Subject: [PATCH] 测试 --- 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