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();