客户银行校验:银行账户+银行账号+币别

dev
嵇文龙 4 weeks ago
parent 26fbaeb720
commit b2a9af2d73

@ -58,7 +58,7 @@ public class ClientBankService : ServiceBase, IClientBankService
{
if (req.Id == 0)
{
if (await TenantDb.Queryable<InfoClientBank>().Where(x => x.ClientId == req.ClientId && x.BankName == req.BankName && x.Account == req.Account && x.Currency == req.Currency).AnyAsync())
if (await TenantDb.Queryable<InfoClientBank>().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<InfoClientBank>();

Loading…
Cancel
Save