|
|
@@ -344,7 +344,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
public ActionResult GetYearListByClass() |
|
|
|
{ |
|
|
|
var classList = classInfoIBLL.GetAllClass().ToList(); |
|
|
|
var result = classList.GroupBy(a => a.ClassNo.Substring(0, 4)).Select(a => int.Parse(a.Key)).OrderBy(a=>a).ToList(); |
|
|
|
var result = classList.GroupBy(a => a.Grade).Select(m=>m.Key).ToList(); |
|
|
|
List<object> list=new List<object>(); |
|
|
|
foreach (var item in result) |
|
|
|
{ |
|
|
|