Преглед изворни кода

补考名单查看

临城职教中职
zhangli пре 2 година
committed by ndbs
родитељ
комит
1366521b9c
3 измењених фајлова са 6 додато и 2 уклоњено
  1. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/IndexUnpass.js
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassService.cs
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoService.cs

+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/IndexUnpass.js Прегледај датотеку

@@ -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'
}); });
// 刷新 // 刷新


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassService.cs Прегледај датотеку

@@ -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)


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoService.cs Прегледај датотеку

@@ -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)


Loading…
Откажи
Сачувај