|
|
@@ -361,7 +361,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
try |
|
|
|
{ |
|
|
|
var strSql = new StringBuilder(); |
|
|
|
strSql.Append("select distinct s.LessonName as value,s.TeachClassNo as text from stuscore s "); |
|
|
|
strSql.Append("select distinct s.LessonName as value,s.EmpNo as text from stuscore s "); |
|
|
|
strSql.Append(" where s.AcademicYearNo='" + academicYearNo + "' and s.Semester='" + semester + "' and s.ClassNo='" + classNo + "' and s.LessonSortNo='1' "); |
|
|
|
return this.BaseRepository("CollegeMIS").FindList<WebHelper.YearGrade>(strSql.ToString()).Where(x => !string.IsNullOrEmpty(x.value)).OrderBy(x => x.value); |
|
|
|
//data = data.Where(x => !string.IsNullOrEmpty(x.value)).OrderBy(x => x.value); |
|
|
|