From b2a9af2d73e58df0769d6b18cfe6412cb4b7bd4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B5=87=E6=96=87=E9=BE=99?= Date: Wed, 30 Oct 2024 09:57:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E9=93=B6=E8=A1=8C=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=EF=BC=9A=E9=93=B6=E8=A1=8C=E8=B4=A6=E6=88=B7+?= =?UTF-8?q?=E9=93=B6=E8=A1=8C=E8=B4=A6=E5=8F=B7+=E5=B8=81=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ds-wms-service/DS.WMS.Core/Info/Method/ClientBankService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ds-wms-service/DS.WMS.Core/Info/Method/ClientBankService.cs b/ds-wms-service/DS.WMS.Core/Info/Method/ClientBankService.cs index 7ab0ae0c..6f2115b4 100644 --- a/ds-wms-service/DS.WMS.Core/Info/Method/ClientBankService.cs +++ b/ds-wms-service/DS.WMS.Core/Info/Method/ClientBankService.cs @@ -58,7 +58,7 @@ public class ClientBankService : ServiceBase, IClientBankService { if (req.Id == 0) { - if (await TenantDb.Queryable().Where(x => x.ClientId == req.ClientId && x.BankName == req.BankName && x.Account == req.Account && x.Currency == req.Currency).AnyAsync()) + if (await TenantDb.Queryable().Where(x => x.ClientId == req.ClientId && x.BankAccountNo == req.BankAccountNo && x.Account == req.Account && x.Currency == req.Currency).AnyAsync()) return DataResult.Failed("银行信息已存在!", MultiLanguageConst.ClientBankExist); var data = req.Adapt();