工艺标准bug
This commit is contained in:
@@ -135,7 +135,7 @@ namespace Tnb.PerMgr
|
|||||||
|
|
||||||
List<string> notDeleteIds = input.Select(x => x.id).ToList();
|
List<string> notDeleteIds = input.Select(x => x.id).ToList();
|
||||||
notDeleteIds.AddRange(insertIds);
|
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();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user