Commit 67599ff6 authored by 黄奎's avatar 黄奎

新增基础课时

parent 9703755f
......@@ -46,5 +46,10 @@ namespace Edu.Model.Entity.Course
/// 修改时间
/// </summary>
public DateTime UpdateTime { get; set; }
/// <summary>
/// 基础课时
/// </summary>
public int BasicHours { get; set; }
}
}
......@@ -58,6 +58,7 @@ namespace Edu.Module.Public
{nameof(RB_Class_Config_ViewModel.BasicMinutes),extModel.BasicMinutes },
{nameof(RB_Class_Config_ViewModel.UpdateBy),extModel.UpdateBy },
{nameof(RB_Class_Config_ViewModel.UpdateTime),extModel.UpdateTime },
{nameof(RB_Class_Config_ViewModel.BasicHours),extModel.BasicHours },
};
flag = class_ConfigRepository.Update(fileds, new WhereHelper(nameof(RB_Class_Config_ViewModel.ConfigId), oldModel.ConfigId));
}
......
......@@ -464,6 +464,7 @@ namespace Edu.WebApi.Controllers.Public
BasicHourFee=base.ParmJObj.GetDecimal("BasicHourFee"),
BasicClassNum=base.ParmJObj.GetInt("BasicClassNum"),
BasicMinutes=base.ParmJObj.GetInt("BasicMinutes"),
BasicHours=base.ParmJObj.GetInt("BasicHours"),
};
extModel.Group_Id = base.UserInfo.Group_Id;
extModel.UpdateBy = base.UserInfo.Id;
......
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