Commit e927e1e1 authored by 黄奎's avatar 黄奎

页面修改

parent 140bbd7e
...@@ -22,26 +22,6 @@ namespace Edu.Module.EduTask ...@@ -22,26 +22,6 @@ namespace Edu.Module.EduTask
/// </summary> /// </summary>
private readonly RB_Change_ClassPlanRepository change_ClassPlanRepository = new RB_Change_ClassPlanRepository(); private readonly RB_Change_ClassPlanRepository change_ClassPlanRepository = new RB_Change_ClassPlanRepository();
/// <summary>
/// 获取调课计划列表
/// </summary>
/// <param name="query"></param>
/// <returns></returns>
public List<RB_Change_ClassPlan_ViewModel> GetChangeClassPlanListModule(RB_Change_ClassPlan_ViewModel query)
{
return change_ClassPlanRepository.GetChangeClassPlanListRepository(query);
}
public bool UpdateChangeClassPlan(int id)
{
return change_ClassPlanRepository.UpdateChangeClassPlan(id);
}
/// <summary> /// <summary>
/// 新增修改调课计划 /// 新增修改调课计划
/// </summary> /// </summary>
......
...@@ -41,6 +41,7 @@ namespace Edu.Repository.EduTask ...@@ -41,6 +41,7 @@ namespace Edu.Repository.EduTask
/// 课程日志记录表 /// 课程日志记录表
/// </summary> /// </summary>
private readonly Log.RB_Class_LogRepository classLogRepository = new Log.RB_Class_LogRepository(); private readonly Log.RB_Class_LogRepository classLogRepository = new Log.RB_Class_LogRepository();
/// <summary> /// <summary>
/// 获取调课计划列表 /// 获取调课计划列表
/// </summary> /// </summary>
......
...@@ -261,16 +261,5 @@ namespace Edu.WebApi.Controllers.EduTask ...@@ -261,16 +261,5 @@ namespace Edu.WebApi.Controllers.EduTask
bool flag = changeClassPlanModule.SetChangeClassPlanModule(model, receiptFile); bool flag = changeClassPlanModule.SetChangeClassPlanModule(model, receiptFile);
return flag ? ApiResult.Success() : ApiResult.Failed(); return flag ? ApiResult.Success() : ApiResult.Failed();
} }
public ApiResult TestUpdateClassPlan()
{
int id = base.ParmJObj.GetInt("Id");
var result = changeClassPlanModule.UpdateChangeClassPlan(id);
return ApiResult.Success("");
}
} }
} }
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