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