Commit 75be3f9e authored by 黄奎's avatar 黄奎

111

parent 9f18c3ca
...@@ -131,6 +131,8 @@ WHERE 1=1 ...@@ -131,6 +131,8 @@ WHERE 1=1
CourseId = model.CourseId, CourseId = model.CourseId,
QHomeWorkIds= model.Details[0].HomeWorkIds, QHomeWorkIds= model.Details[0].HomeWorkIds,
}); });
if (homeworkList != null && homeworkList.Count > 0)
{
var courseComment = new RB_Course_Comment_Extend(); var courseComment = new RB_Course_Comment_Extend();
var defaultComment = new RB_Comment_Extend(); var defaultComment = new RB_Comment_Extend();
if (IsDefault == 1) if (IsDefault == 1)
...@@ -173,6 +175,7 @@ WHERE 1=1 ...@@ -173,6 +175,7 @@ WHERE 1=1
} }
} }
}
flag = SetStuCommentRepository(model,IsAdd:true); flag = SetStuCommentRepository(model,IsAdd:true);
return flag; return flag;
} }
......
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