From 90cecd8255b8591d729f906f0420fc6562a869e2 Mon Sep 17 00:00:00 2001 From: test <15284381150@163.com> Date: 星期一, 18 八月 2025 15:43:58 +0800 Subject: [PATCH] 修改出库领料客户不存在问题 --- Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs index cd21a0c..38f584c 100644 --- a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs +++ b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs @@ -337,11 +337,11 @@ { //瀹㈡埛淇℃伅 var customer = Db.Queryable<SysCustomer>().First(m => m.IsDel == "0" && m.CustomerNo == model.customerNo); - if (customer == null) + if (customer != null) { - throw new Exception("瀹㈡埛淇℃伅涓嶅瓨鍦�!"); + //throw new Exception("瀹㈡埛淇℃伅涓嶅瓨鍦�!"); + CustomerName = customer.CustomerName; } - CustomerName = customer.CustomerName; } //鎵胯繍鍟嗕俊鎭� -- Gitblit v1.8.0