代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -94,7 +94,7 @@ namespace BLL
|
||||
var item = db.Training_TestRecordItem.FirstOrDefault(x => x.TestRecordId == getTestRecord.TestRecordId);
|
||||
if (item == null)
|
||||
{
|
||||
List<Model.Training_TestTrainingItem> getTestTrainingItemList = new List<Model.Training_TestTrainingItem>();
|
||||
List<Model.Training_TestTrainingItem> getTestTrainingItemList = new List<Model.Training_TestTrainingItem>();
|
||||
var testPlanTrainings = (from x in db.Training_TestPlanTraining
|
||||
where x.TestPlanId == getTestPlan.TestPlanId
|
||||
select new { x.TestPlanId, x.TrainingId, x.TestType1Count, x.TestType2Count, x.TestType3Count }).Distinct();
|
||||
@@ -522,7 +522,7 @@ namespace BLL
|
||||
foreach (var item in getTrainingTasks)
|
||||
{
|
||||
item.States = "2";
|
||||
|
||||
|
||||
}
|
||||
getTestPlan.States = "3";
|
||||
db.SubmitChanges();
|
||||
|
||||
Reference in New Issue
Block a user