|
|
@@ -73,6 +73,16 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
dp.Add("LessonNo", queryParam["LessonNo"].ToString(), DbType.String); |
|
|
|
strSql.Append(" AND t.LessonNo = @LessonNo "); |
|
|
|
} |
|
|
|
if (!queryParam["ClassNo"].IsEmpty()) |
|
|
|
{ |
|
|
|
dp.Add("ClassNo", queryParam["ClassNo"].ToString(), DbType.String); |
|
|
|
strSql.Append(" AND t.ClassNo = @ClassNo "); |
|
|
|
} |
|
|
|
if (!queryParam["EmpNo"].IsEmpty()) |
|
|
|
{ |
|
|
|
dp.Add("EmpNo", queryParam["EmpNo"].ToString(), DbType.String); |
|
|
|
strSql.Append(" AND t.EmpNo = @EmpNo "); |
|
|
|
} |
|
|
|
return this.BaseRepository("CollegeMIS").FindList<TeachClassEntity>(strSql.ToString(), dp, pagination); |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|