Commit 7adc18e8 authored by 黄奎's avatar 黄奎

11

parent 13ea5b90
...@@ -4339,6 +4339,14 @@ namespace Edu.Module.Course ...@@ -4339,6 +4339,14 @@ namespace Edu.Module.Course
ChapterName = string.Format("第{0}次课", item.Key.ChapterNo); ChapterName = string.Format("第{0}次课", item.Key.ChapterNo);
} }
} }
if (CourseGradeId > 0)
{
CourseRateEnum CourseGradeIdRate = (CourseRateEnum)CourseGradeId;
if (!ChapterName.Contains(CourseGradeIdRate.ToName().Replace("课程", "")))
{
ChapterName = CourseGradeIdRate.ToName().Replace("课程", "") + "-" + ChapterName;
}
}
subList.Add(new subList.Add(new
{ {
ClassType = 3, ClassType = 3,
......
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