Commit f563b437 authored by 黄奎's avatar 黄奎

新增课时字段

parent 8794478c
......@@ -125,5 +125,10 @@ namespace Edu.Model.Entity.Course
/// 是否是K12课程(1-是)
/// </summary>
public int IsKCourse { get; set; }
/// <summary>
/// 课时
/// </summary>
public int ClassHours { get; set; }
}
}
\ No newline at end of file
......@@ -201,6 +201,7 @@ namespace Edu.Module.Course
{nameof(RB_Course_ViewModel.RenewSlPrice),model.RenewSlPrice },
{nameof(RB_Course_ViewModel.Saleplat),model.Saleplat },
{nameof(RB_Course_ViewModel.IsKCourse),model.IsKCourse },
{nameof(RB_Course_ViewModel.ClassHours),model.IsKCourse },
};
flag = courseRepository.Update(fileds, new WhereHelper(nameof(RB_Course_ViewModel.CourseId), model.CourseId));
}
......
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