@@ -38,6 +38,7 @@ var bootstrap = function ($, learun) { | |||||
text: 'text' | text: 'text' | ||||
}); | }); | ||||
$('#DeptNo').lrDataSourceSelect({ | $('#DeptNo').lrDataSourceSelect({ | ||||
allowSearch: true, | |||||
code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { | code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (val) { | ||||
var deptno = ""; | var deptno = ""; | ||||
if (val) { | if (val) { | ||||
@@ -51,6 +52,7 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
}); | }); | ||||
$('#MajorNo').lrDataSourceSelect({ | $('#MajorNo').lrDataSourceSelect({ | ||||
allowSearch: true, | |||||
code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: | code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: | ||||
function (val) { | function (val) { | ||||
var majorNo = ''; | var majorNo = ''; | ||||
@@ -74,9 +76,11 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
}); | }); | ||||
$('#ClassNo').lrDataSourceSelect({ | $('#ClassNo').lrDataSourceSelect({ | ||||
allowSearch: true, | |||||
code: 'bjsj', value: 'classno', text: 'classname' | code: 'bjsj', value: 'classno', text: 'classname' | ||||
}); | }); | ||||
$('#LessonNo').lrDataSourceSelect({ | $('#LessonNo').lrDataSourceSelect({ | ||||
allowSearch: true, | |||||
code: 'LessonInfo', value: 'lessonno', text: 'lessonname' | code: 'LessonInfo', value: 'lessonno', text: 'lessonname' | ||||
}); | }); | ||||
// 刷新 | // 刷新 | ||||
@@ -208,7 +208,7 @@ else CONVERT(varchar,a.Score) end as Score2 "); | |||||
strSql.Append($" and a.ClassNo ='{queryParam["ClassNo"].ToString()}'"); | strSql.Append($" and a.ClassNo ='{queryParam["ClassNo"].ToString()}'"); | ||||
} | } | ||||
strSql.Append(" and b.AbmormityMoveMark!='1'"); | |||||
strSql.Append(" and (b.AbmormityMoveMark<>'1' or len(b.AbmormityMoveMark)=0 or b.AbmormityMoveMark is null) "); | |||||
return this.BaseRepository("CollegeMIS").FindList<NotPassEntity>(strSql.ToString(), pagination); | return this.BaseRepository("CollegeMIS").FindList<NotPassEntity>(strSql.ToString(), pagination); | ||||
} | } | ||||
catch (Exception ex) | catch (Exception ex) | ||||
@@ -300,7 +300,7 @@ else CONVERT(varchar,a.Score) end as Score2 "); | |||||
strSql.Append($" and a.ClassNo ='{queryParam["ClassNo"].ToString()}'"); | strSql.Append($" and a.ClassNo ='{queryParam["ClassNo"].ToString()}'"); | ||||
} | } | ||||
strSql.Append(" and b.AbmormityMoveMark!='1' "); | |||||
strSql.Append(" and (b.AbmormityMoveMark<>'1' or len(b.AbmormityMoveMark)=0 or b.AbmormityMoveMark is null) "); | |||||
return this.BaseRepository("CollegeMIS").FindList<NotPassEntity>(strSql.ToString(), pagination); | return this.BaseRepository("CollegeMIS").FindList<NotPassEntity>(strSql.ToString(), pagination); | ||||
} | } | ||||
catch (Exception ex) | catch (Exception ex) | ||||