|
|
@@ -140,7 +140,10 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
if (!queryParam["EPId"].IsEmpty()) |
|
|
|
{ |
|
|
|
var examPlan = this.BaseRepository("CollegeMIS").FindEntity<Exam_ExamPlanEntity>(queryParam["EPId"].ToString()); |
|
|
|
strSql.Append($" AND t.AcademicYearNo = '{examPlan.AcademicYearNo}' AND t.Semester = '{examPlan.Semester}' AND t.ESType = '{examPlan.PlanType}' "); |
|
|
|
if (examPlan != null) |
|
|
|
{ |
|
|
|
strSql.Append($" AND t.AcademicYearNo = '{examPlan.AcademicYearNo}' AND t.Semester = '{examPlan.Semester}' AND t.ESType = '{examPlan.PlanType}' "); |
|
|
|
} |
|
|
|
} |
|
|
|
strSql.Append(" group by ClassNo,AcademicYearNo,Semester,ESType "); |
|
|
|
return this.BaseRepository("CollegeMIS").FindList<Exam_ExamStudentEntity>(strSql.ToString(), dp, pagination); |
|
|
|