|
|
@@ -39,6 +39,17 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
var queryParam = queryJson.ToJObject(); |
|
|
|
// 虚拟参数 |
|
|
|
var dp = new DynamicParameters(new { }); |
|
|
|
|
|
|
|
if (!queryParam["AcademicYearNo"].IsEmpty()) |
|
|
|
{ |
|
|
|
dp.Add("AcademicYearNo", queryParam["AcademicYearNo"].ToString(), DbType.String); |
|
|
|
strSql.Append(" AND t.AcademicYearNo = @AcademicYearNo "); |
|
|
|
} |
|
|
|
if (!queryParam["Semester"].IsEmpty()) |
|
|
|
{ |
|
|
|
dp.Add("Semester", queryParam["Semester"].ToString(), DbType.String); |
|
|
|
strSql.Append(" AND t.Semester = @Semester "); |
|
|
|
} |
|
|
|
if (!queryParam["StuNo"].IsEmpty()) |
|
|
|
{ |
|
|
|
dp.Add("StuNo", "%" + queryParam["StuNo"].ToString() + "%", DbType.String); |
|
|
|