Commit 2916f392 authored by 黄奎's avatar 黄奎

页面修改

parent 433b8f5c
...@@ -475,6 +475,10 @@ namespace EduSpider.Services ...@@ -475,6 +475,10 @@ namespace EduSpider.Services
/// <returns></returns> /// <returns></returns>
public List<ExamWorkResult> CreateHomeWorkComment(int CourseId) public List<ExamWorkResult> CreateHomeWorkComment(int CourseId)
{ {
if (StuHomeWorkRepository == null)
{
StuHomeWorkRepository = new StuHomeWorkRepository();
}
return StuHomeWorkRepository.CreateHomeWorkCommentRepository(CourseId); return StuHomeWorkRepository.CreateHomeWorkCommentRepository(CourseId);
} }
} }
......
...@@ -32,7 +32,7 @@ namespace EduSpider.WebApi.Timers ...@@ -32,7 +32,7 @@ namespace EduSpider.WebApi.Timers
{ {
VTX.FW.Helper.LogHelper.WriteInfo("StartAsync","定时任务被启动"); VTX.FW.Helper.LogHelper.WriteInfo("StartAsync","定时任务被启动");
int Interval = 0; int Interval = 0;
Interval = 1; Interval = 30;//30分钟执行一次
//Interval = 1; //Interval = 1;
//绑定定时任务 //绑定定时任务
//设置延迟时间 //设置延迟时间
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment