集团三库
This commit is contained in:
@@ -557,7 +557,13 @@ namespace BLL
|
||||
itemRecord.TestScores = db.Training_TestRecordItem.Where(x => x.TestRecordId == itemRecord.TestRecordId).Sum(x => x.SubjectScore) ?? 0;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
//更新三库考试考核
|
||||
string message = string.Empty;
|
||||
SanKuDataSummaryReportService.UpdateExaminationRecord(getTestPlan.TestPlanId, ref message);
|
||||
//if (!string.IsNullOrWhiteSpace(message))
|
||||
//{
|
||||
// ShowNotify(message, MessageBoxIcon.Warning);
|
||||
//}
|
||||
var getTrainingTasks = from x in db.Training_Task
|
||||
where x.PlanId == getTestPlan.PlanId && (x.States != "2" || x.States == null)
|
||||
select x;
|
||||
|
||||
@@ -575,6 +575,13 @@ namespace BLL
|
||||
}
|
||||
db.SubmitChanges();
|
||||
|
||||
//更新三库考试考核
|
||||
string message = string.Empty;
|
||||
SanKuDataSummaryReportService.UpdateExaminationRecordItem(testRecord.TestRecordId, ref message);
|
||||
//if (!string.IsNullOrWhiteSpace(message))
|
||||
//{
|
||||
// ShowNotify(message, MessageBoxIcon.Warning);
|
||||
//}
|
||||
getCode = getTestRecord.TestScores ?? 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -176,7 +176,13 @@ namespace BLL
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//更新三库教育培训
|
||||
string message = string.Empty;
|
||||
SanKuDataSummaryReportService.UpdateTrainingRecord(newTrainRecord.TrainingId, ref message);
|
||||
//if (!string.IsNullOrWhiteSpace(message))
|
||||
//{
|
||||
// ShowNotify(message, MessageBoxIcon.Warning);
|
||||
//}
|
||||
////增加一条编码记录
|
||||
CodeRecordsService.InsertCodeRecordsByMenuIdProjectIdUnitId(Const.ProjectTrainRecordMenuId, newTrainRecord.ProjectId, null, newTrainRecord.TrainingId, newTrainRecord.TrainStartDate);
|
||||
CommonService.btnSaveData(newTrainRecord.ProjectId, Const.ProjectTrainRecordMenuId, newTrainRecord.TrainingId, getTrainingPlan.DesignerId, true, newTrainRecord.TrainTitle, "../EduTrain/TrainRecordView.aspx?TrainingId={0}");
|
||||
|
||||
Reference in New Issue
Block a user