集团三库

This commit is contained in:
2026-09-10 18:51:12 +08:00
parent dc6abc4cbb
commit 5be709c0e6
131 changed files with 25364 additions and 970 deletions
+7 -1
View File
@@ -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;
}
}
+7 -1
View File
@@ -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}");