From 5fdf7d0cac0f6941baa140446f78aebc5981479f Mon Sep 17 00:00:00 2001 From: zhou keda <1315948824@qq.com> Date: Thu, 5 Sep 2024 10:27:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=89=BA=E6=A0=87=E5=87=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PerMgr/Tnb.PerMgr/PerProcessParamTypeService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PerMgr/Tnb.PerMgr/PerProcessParamTypeService.cs b/PerMgr/Tnb.PerMgr/PerProcessParamTypeService.cs index e71ed103..2d7f0342 100644 --- a/PerMgr/Tnb.PerMgr/PerProcessParamTypeService.cs +++ b/PerMgr/Tnb.PerMgr/PerProcessParamTypeService.cs @@ -135,7 +135,7 @@ namespace Tnb.PerMgr List notDeleteIds = input.Select(x => x.id).ToList(); notDeleteIds.AddRange(insertIds); - await db.Deleteable().Where(x => !notDeleteIds.Contains(x.id)).ExecuteCommandAsync(); + await db.Deleteable().Where(x => !notDeleteIds.Contains(x.id) && x.process_standards_id==input[0].process_standards_id).ExecuteCommandAsync(); }