From 4c7011bfa8fd8cd7a7b9abd1ea496309413fe010 Mon Sep 17 00:00:00 2001 From: yexuzhong <120511780@qq.com> Date: Fri, 31 Jul 2026 11:02:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E7=BB=88=E6=8C=81=E4=BB=93=E9=A3=8E?= =?UTF-8?q?=E9=99=A9=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YLErpDAL/YLErpDAL.csproj | 6 +++--- YLErpWeb/Controllers/tradeController.cs | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/YLErpDAL/YLErpDAL.csproj b/YLErpDAL/YLErpDAL.csproj index 437f62a6..07cbcda8 100644 --- a/YLErpDAL/YLErpDAL.csproj +++ b/YLErpDAL/YLErpDAL.csproj @@ -40,10 +40,10 @@ - + - - + + diff --git a/YLErpWeb/Controllers/tradeController.cs b/YLErpWeb/Controllers/tradeController.cs index 827bc8a6..f0f5728e 100644 --- a/YLErpWeb/Controllers/tradeController.cs +++ b/YLErpWeb/Controllers/tradeController.cs @@ -7055,6 +7055,10 @@ namespace YLErp.Web.Controllers public JsonResult BatchDownloadEodPositionRisks(EodPositionRisksReq req) { + req.BookIds = AssetUnitModel.IntersectAssetUnits(req.AssetIdGroupList, req.BookIds).ToList(); + req.UserAssets = CurUser.GetAssetUnitIds(); + req.UserClients = CurUser.GetClientIdsByCurUser(CurUser.交易管理_查看所有交易); + if (CurUser.交易管理_查看所有交易) { req.UserClients.Clear(); } if (!new EodPositionRisksQueryService(CurUser).BatchDownloadEodPositionRisks(req)) { return JsonError("线程正在被占用");