|
|
@@ -1210,7 +1210,7 @@ namespace Business.ResourceExamineManagement
|
|
|
if (ilist.Count > 1)
|
|
|
{
|
|
|
var icitem = ic_Items.Find(s => s.Id == pr.icitem_id);
|
|
|
- var prRefoccupy = occupylist.Where(s => s.polist_id == pr.Id).ToList();
|
|
|
+ var prRefoccupy = occupylist.Where(s => ilist.Select(c => c.Id).ToList().Contains(s.polist_id.GetValueOrDefault())).ToList();
|
|
|
newPr = help.DeepCopy(pr);
|
|
|
newPr.GenerateNewId(help.NextId());
|
|
|
prRefoccupy.ForEach(a =>
|