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