|
@@ -42,12 +42,17 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[HttpGet] |
|
|
[HttpGet] |
|
|
public ActionResult PrintScore(string keyValue) |
|
|
|
|
|
|
|
|
public ActionResult PrintScore() |
|
|
|
|
|
{ |
|
|
|
|
|
return View(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[HttpGet] |
|
|
|
|
|
[AjaxOnly] |
|
|
|
|
|
public ActionResult DataFilling(string keyValue) |
|
|
{ |
|
|
{ |
|
|
//毕业表 |
|
|
//毕业表 |
|
|
var StuInfoGraduateEntity = stuInfoGraduateIBLL.GetEntity(keyValue); |
|
|
var StuInfoGraduateEntity = stuInfoGraduateIBLL.GetEntity(keyValue); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (StuInfoGraduateEntity == null) |
|
|
if (StuInfoGraduateEntity == null) |
|
|
{ |
|
|
{ |
|
|
return View(new StuInfoGraduateEntity()); |
|
|
return View(new StuInfoGraduateEntity()); |
|
@@ -60,6 +65,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
{ |
|
|
{ |
|
|
AcademicYearNo = x.Key.AcademicYearNo, |
|
|
AcademicYearNo = x.Key.AcademicYearNo, |
|
|
Semester = x.Key.Semester, |
|
|
Semester = x.Key.Semester, |
|
|
|
|
|
|
|
|
StuScoreList = x.Select(y => new StuScoreEntity() |
|
|
StuScoreList = x.Select(y => new StuScoreEntity() |
|
|
{ |
|
|
{ |
|
|
LessonNo = y.LessonNo, |
|
|
LessonNo = y.LessonNo, |
|
@@ -74,15 +80,13 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
Crowning = StuInfoGraduateEntity.Crowning, |
|
|
Crowning = StuInfoGraduateEntity.Crowning, |
|
|
EduSystem = StuInfoGraduateEntity.EduSystem, |
|
|
EduSystem = StuInfoGraduateEntity.EduSystem, |
|
|
Grade = StuInfoGraduateEntity.Grade, |
|
|
Grade = StuInfoGraduateEntity.Grade, |
|
|
ClassName = StuInfoGraduateEntity.ClassName, |
|
|
|
|
|
MajorName = StuInfoGraduateEntity.MajorName, |
|
|
|
|
|
|
|
|
ClassName = StuInfoGraduateEntity.StuScoreList.FirstOrDefault().ClassName, |
|
|
|
|
|
MajorName = StuInfoGraduateEntity.StuScoreList.FirstOrDefault().MajorName, |
|
|
StuInfoGraduateEntity = StuInfoGraduateEntity, |
|
|
StuInfoGraduateEntity = StuInfoGraduateEntity, |
|
|
Counts = Score.Count(), |
|
|
|
|
|
|
|
|
Counts = Score.Count().ToString(), |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
return View(result); |
|
|
|
|
|
|
|
|
return Success(result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#endregion |
|
|
#endregion |
|
|
|
|
|
|
|
|
#region 获取数据 |
|
|
#region 获取数据 |
|
|