1移交子表状态判断逻辑调整
This commit is contained in:
@@ -103,13 +103,13 @@ namespace FineUIPro.Web.Transfer
|
||||
{
|
||||
model.FINAL_Status = "Completed";
|
||||
}
|
||||
//如果全是NA或Not Start 就是 Not Start
|
||||
else if (listObj.Where(x => x == "NA" || x == "Not Start").ToList().Count == 4)
|
||||
//如果全是NA或Not Start、空 就是 Not Start
|
||||
else if (listObj.Where(x => string.IsNullOrWhiteSpace(x) || x == "NA" || x == "Not Start").ToList().Count == 4)
|
||||
{
|
||||
model.FINAL_Status = "Not Start";
|
||||
}
|
||||
//如果其中有一项是In progress 或Not Start 是 In progress
|
||||
else if (listObj.Where(x => x == "In progress" || x == "Not Start").ToList().Count >= 1)
|
||||
//如果其中有一项是In progress 或Not Start、空 是 In progress
|
||||
else if (listObj.Where(x => string.IsNullOrWhiteSpace(x) || x == "In progress" || x == "Not Start").ToList().Count >= 1)
|
||||
{
|
||||
model.FINAL_Status = "In progress";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user