Commit 29dba483 authored by 黄奎's avatar 黄奎

新增处理类

parent d2fa0358
......@@ -9,6 +9,24 @@ namespace Edu.Model.ViewModel.Course
/// </summary>
public class RB_Course_Discuss_ViewModel:Model.Entity.Course.RB_Course_Discuss
{
/// <summary>
/// 创建人
/// </summary>
public string CreateByName { get; set; }
/// <summary>
/// 修改人
/// </summary>
public string UpdateByName { get; set; }
/// <summary>
/// 创建时间字符串
/// </summary>
public string CreateTimeStr { get { return Common.ConvertHelper.FormatTime(this.CreateTime); } }
/// <summary>
/// 修改时间字符串
/// </summary>
public string UpdateTimeStr { get { return Common.ConvertHelper.FormatTime(this.UpdateTime); } }
}
}
\ No newline at end of file
......@@ -9,5 +9,24 @@ namespace Edu.Model.ViewModel.Course
/// </summary>
public class RB_Course_Source_ViewModel : Model.Entity.Course.RB_Course_Source
{
/// <summary>
/// 创建人
/// </summary>
public string CreateByName { get; set; }
/// <summary>
/// 更新人
/// </summary>
public string UpdateByName { get; set; }
/// <summary>
/// 创建时间字符串
/// </summary>
public string CreateTimeStr { get { return Common.ConvertHelper.FormatTime(this.CreateTime); } }
/// <summary>
/// 修改时间字符串
/// </summary>
public string UpdateTimeStr { get { return Common.ConvertHelper.FormatTime(this.UpdateTime); } }
}
}
\ No newline at end of file
......@@ -237,7 +237,7 @@ namespace Edu.Module.Course
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
public bool AddNoticeRevice(RB_Course_NoticeRevice_ViewModel model)
public bool AddNoticeReviceModule(RB_Course_NoticeRevice_ViewModel model)
{
var newId = noticeReviceRepository.Insert(model);
model.ReviceId = newId;
......@@ -348,7 +348,6 @@ namespace Edu.Module.Course
/// <returns></returns>
public bool RemoveChapterModule(object ChapterId)
{
Dictionary<string, object> fileds = new Dictionary<string, object>()
{
{nameof(RB_Course_Chapter_ViewModel.Status) ,(int)DateStateEnum.Delete},
......
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