tangdi 2 år sedan
förälder
incheckning
62997bc347

+ 2 - 2
MicroServices/Business/Business.Application/ResourceExamineManagement/ResourceExamineAppService.cs

@@ -2668,10 +2668,10 @@ namespace Business.ResourceExamineManagement
                     copyList = new List<WorkOrdRouting>();
                     if (upperOp == null)
                     {
-                        refMilestoneOpList.AddRange(parentlist.Where(x => x.OP < wt.OP).ToList());
+                        refMilestoneOpList.AddRange(parentlist.Where(x => x.OP <= wt.OP).ToList());
                     }
                     else {
-                        refMilestoneOpList.AddRange(parentlist.Where(x => upperOp.OP < x.OP && x.OP < wt.OP).ToList());
+                        refMilestoneOpList.AddRange(parentlist.Where(x => upperOp.OP < x.OP && x.OP <= wt.OP).ToList());
                     }
                     upperOp = wt;
                     GetChildOP(refMilestoneOpList, alllist, copyList);