From a40025fb7335cbe61006c9338069e36280aaf75a Mon Sep 17 00:00:00 2001 From: fei550 <1420031550@qq.com> Date: Mon, 6 Jan 2025 17:27:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=BF=87=E6=BB=A4=E5=99=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=87=8A=E6=94=BE=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineMatIn.aspx.cs | 2 +- SGGL/WebAPI/Filter/TestPermissionAttribute.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineMatIn.aspx.cs b/SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineMatIn.aspx.cs index 64da560b..2f66d61b 100644 --- a/SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineMatIn.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineMatIn.aspx.cs @@ -670,7 +670,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage item.PipeLineMatId = pipeLineMat.First().PipeLineMatId; BLL.PipelineMatService.UpdatePipeLineMat(item); } - BLL.HJGL_PipelineComponentService.SyncPipelineComponentByMatId(item.PipeLineMatId); + BLL.HJGL_PipelineComponentService.SyncPipelineComponentByMatId(item.PipeLineMatId); } } } diff --git a/SGGL/WebAPI/Filter/TestPermissionAttribute.cs b/SGGL/WebAPI/Filter/TestPermissionAttribute.cs index e674fd0f..1c1c700e 100644 --- a/SGGL/WebAPI/Filter/TestPermissionAttribute.cs +++ b/SGGL/WebAPI/Filter/TestPermissionAttribute.cs @@ -95,6 +95,7 @@ namespace WebAPI.Filter { if (BLL.Funs.DBList.ContainsKey(System.Threading.Thread.CurrentThread.ManagedThreadId)) { + BLL.Funs.DBList[System.Threading.Thread.CurrentThread.ManagedThreadId].Dispose(); BLL.Funs.DBList.Remove(System.Threading.Thread.CurrentThread.ManagedThreadId); }