移交递增报表

This commit is contained in:
2024-02-02 10:48:40 +08:00
parent 8fc9080a18
commit e384e322be
17 changed files with 572 additions and 2 deletions
@@ -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();
}
}