移交递增报表
This commit is contained in:
@@ -350,6 +350,10 @@ namespace FineUIPro.Web.Transfer
|
||||
model.Test_Package_FINISH = t2;
|
||||
|
||||
model.FINAL_Status = pds.Rows[i][6].ToString().Trim();
|
||||
if (model.FINAL_Status.ToLower() == "finished")
|
||||
{
|
||||
model.CompleteTime = DateTime.Now;
|
||||
}
|
||||
list.Add(model);
|
||||
}
|
||||
else
|
||||
@@ -365,6 +369,10 @@ namespace FineUIPro.Web.Transfer
|
||||
if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString()))
|
||||
modelOnly.Test_Package_FINISH = t2;
|
||||
modelOnly.FINAL_Status = pds.Rows[i][6].ToString().Trim();
|
||||
if (modelOnly.FINAL_Status.ToLower() == "finished")
|
||||
{
|
||||
modelOnly.CompleteTime = DateTime.Now;
|
||||
}
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user