工艺标准bug

This commit is contained in:
2024-09-05 10:27:49 +08:00
parent a4345646ca
commit 5fdf7d0cac

View File

@@ -135,7 +135,7 @@ namespace Tnb.PerMgr
List<string> notDeleteIds = input.Select(x => x.id).ToList();
notDeleteIds.AddRange(insertIds);
await db.Deleteable<PerProcessStandardsD>().Where(x => !notDeleteIds.Contains(x.id)).ExecuteCommandAsync();
await db.Deleteable<PerProcessStandardsD>().Where(x => !notDeleteIds.Contains(x.id) && x.process_standards_id==input[0].process_standards_id).ExecuteCommandAsync();
}