移交管理优化:子项完成状态判断逻辑调整;

This commit is contained in:
2024-11-20 11:29:46 +08:00
parent 981b4e2f63
commit 448fa6c4f2
31 changed files with 300 additions and 103 deletions
@@ -336,7 +336,7 @@ namespace FineUIPro.Web.Transfer
listObj.Add(obj2);
listObj.Add(obj3);
listObj.Add(obj4);
//全是NA或Completed 状态是Completed
//如果全是NA或Completed 状态是Completed
if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 4)
{
model.FINAL_Status = "Completed";
@@ -344,9 +344,8 @@ namespace FineUIPro.Web.Transfer
continue;
}
//如果全是Not Start 就是 Not Start
if (listObj.Where(x => x == "Not Start").ToList().Count == 4)
//如果全是NA或Not Start 就是 Not Start
if (listObj.Where(x => x == "NA" || x == "Not Start").ToList().Count == 4)
{
model.FINAL_Status = "Not Start";
list.Add(model);