Commit d1684814 authored by 黄奎's avatar 黄奎

页面修改

parent 0c936cc9
......@@ -236,6 +236,7 @@ namespace Edu.WebApi.Controllers.Course
StudentNumType = (StudentNumTypeEnum)base.ParmJObj.GetInt("StudentNumType"),
ClassHourMinute = base.ParmJObj.GetInt("ClassHourMinute"),
};
extModel.ClassDateList = Common.Plugin.JsonHelper.DeserializeObject<List<string>>(base.ParmJObj.GetStringValue("ClassDateList"));
try
{
......@@ -401,11 +402,19 @@ namespace Edu.WebApi.Controllers.Course
{
extModel.ClassId = 0;
}
if (string.IsNullOrEmpty(base.ParmJObj.GetStringValue("EndOrderTime")))
{
extModel.EndOrderTime = extModel.OpenTime;
}
flag = classModule.SetClassModule(extModel);
}
}
else
{
if (string.IsNullOrEmpty(base.ParmJObj.GetStringValue("EndOrderTime")))
{
extModel.EndOrderTime = extModel.OpenTime;
}
flag = classModule.SetClassModule(extModel);
}
return flag ? ApiResult.Success(data: extModel) : ApiResult.Failed();
......
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