Browse Source

学生评教功能报错处理

西昌缴费二期
liangkun 4 years ago
parent
commit
2e461dba61
2 changed files with 7 additions and 2 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/pushmessage.js
  2. +6
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EvaluationTeach/Eval_Main/Eval_MainService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/pushmessage.js View File

@@ -11,7 +11,7 @@
, connect: function () {
var loginInfo = learun.clientdata.get(['userinfo']);
if (loginInfo.imOpen != 'true') {
setTimeout(learun._im.connect, 1000);
setTimeout(learun._im.connect, 10000);
}

$.ajax({


+ 6
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EvaluationTeach/Eval_Main/Eval_MainService.cs View File

@@ -75,7 +75,12 @@ namespace Learun.Application.TwoDevelopment.EvaluationTeach
strSql.Append("left join Eval_Main b on a.AcademicYearNo=b.AcademicYearNo and a.Semester=b.Semester where b.Status=1 and a.StuNo='" + queryParam["StuNo"] + "') aa ");
strSql.Append("left join (select distinct b.EmpNo, b.LessonNo, b.UID from Eval_Question a left join Eval_QuestionResult b on a.QID=b.QID) bb on aa.EmpNo=bb.EmpNo and aa.LessonNo=bb.LessonNo and aa.StuNo=bb.UID ");
strSql.Append("left join " + misdbname + ".dbo.EmpInfo cc on aa.EmpNo=cc.EmpNo left join " + misdbname + ".dbo.LessonInfo dd on aa.LessonNo = dd.LessonNo ");
return this.BaseRepository().FindList<Eval_QuestionResultEntity>(strSql.ToString(),pagination);
if (pagination != null)
{
return this.BaseRepository().FindList<Eval_QuestionResultEntity>(strSql.ToString(), pagination);
}
else
return BaseRepository().FindList<Eval_QuestionResultEntity>(strSql.ToString());
}
catch (Exception ex)
{


Loading…
Cancel
Save