From 37dd95fd35e0187038829867f0e50914f005227d Mon Sep 17 00:00:00 2001 From: shanji <18996038927@163.com> Date: Tue, 17 May 2022 14:05:05 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E6=96=B9=E6=A1=88=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E5=8E=BB=E6=8E=89=E9=87=87=E8=B4=AD=E5=95=86=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PurchaseScheme/PurchaseSchemeBusiness.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/BBWY.Server.Business/PurchaseScheme/PurchaseSchemeBusiness.cs b/BBWY.Server.Business/PurchaseScheme/PurchaseSchemeBusiness.cs index 7d70d058..fb76ea91 100644 --- a/BBWY.Server.Business/PurchaseScheme/PurchaseSchemeBusiness.cs +++ b/BBWY.Server.Business/PurchaseScheme/PurchaseSchemeBusiness.cs @@ -30,13 +30,11 @@ namespace BBWY.Server.Business if (batchCURDSchemeRequest.EditPurchaseSchemeList.Count == 0 && batchCURDSchemeRequest.AddPurchaseSchemeList.Count == 0) throw new BusinessException("非法参数"); if (batchCURDSchemeRequest.AddPurchaseSchemeList.Any(p => string.IsNullOrEmpty(p.PurchaserId) || - string.IsNullOrEmpty(p.PurchaserName) || - string.IsNullOrEmpty(p.PurchaserLocation))) + string.IsNullOrEmpty(p.PurchaserName))) throw new BusinessException("新增方案中有采购商Id/Name/Location为空"); if (batchCURDSchemeRequest.AddPurchaseSchemeList.Any(p => string.IsNullOrEmpty(p.PurchaserId) || - string.IsNullOrEmpty(p.PurchaserName) || - string.IsNullOrEmpty(p.PurchaserLocation))) + string.IsNullOrEmpty(p.PurchaserName))) throw new BusinessException("编辑方案中有采购商Id/Name/Location为空"); List addPurchaseSchemeList = null;