From 8372a1bde49d3e80172e2797c178dff8f2aa307c Mon Sep 17 00:00:00 2001 From: shangzhongyuan Date: Fri, 13 Mar 2026 16:06:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(entryexit):=20=E7=A7=BB=E9=99=A4=E9=93=B6?= =?UTF-8?q?=E8=A1=8C=E6=B5=81=E6=B0=B4=E6=9F=A5=E8=AF=A2=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E5=86=97=E4=BD=99=E5=8F=82=E6=95=B0=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了不再需要的 clientId 参数验证逻辑 - 移除了 API 请求中多余的 account 查询参数 - 简化了银行流水数据查询接口调用 --- .../Services/CashRecordModule/ExternalCashFlowService.cs | 1 - YLErpWeb/Controllers/entryexitController.cs | 6 ------ 2 files changed, 7 deletions(-) diff --git a/YLErpDAL/Services/CashRecordModule/ExternalCashFlowService.cs b/YLErpDAL/Services/CashRecordModule/ExternalCashFlowService.cs index dd87becd..d2f6049a 100644 --- a/YLErpDAL/Services/CashRecordModule/ExternalCashFlowService.cs +++ b/YLErpDAL/Services/CashRecordModule/ExternalCashFlowService.cs @@ -56,7 +56,6 @@ namespace YLErp.Services.CashRecordModule // 构建请求 URL var apiUrl = $"{_baseUrl}/eusp/queryStatement"; var queryString = $"?token={Uri.EscapeDataString(token)}" + - $"&account={Uri.EscapeDataString(account)}" + $"&beginDate={Uri.EscapeDataString(beginDate)}" + $"&endDate={Uri.EscapeDataString(endDate)}"; diff --git a/YLErpWeb/Controllers/entryexitController.cs b/YLErpWeb/Controllers/entryexitController.cs index 37b39cc2..871265a5 100644 --- a/YLErpWeb/Controllers/entryexitController.cs +++ b/YLErpWeb/Controllers/entryexitController.cs @@ -537,12 +537,6 @@ namespace YLErp.Web.Controllers return JsonSuccess("未获取到银行流水数据"); } - var clientId = req.clientId; - if (!clientId.HasValue || clientId == 0) - { - return JsonError("请选择客户"); - } - var existingFlowIds = yldb.ClientCashInCashOut .Where(c => !string.IsNullOrEmpty(c.BankFlowId)) .Select(c => c.BankFlowId)