Commit 6b16059f authored by 吴春's avatar 吴春

提交代码

parent 951a9cf3
......@@ -60,6 +60,8 @@ namespace Edu.WebApi.Controllers.EduTask
model.NewChangePlanItemList = Common.Plugin.JsonHelper.DeserializeObject<List<ChangePlanItem>>(base.ParmJObj.GetStringValue("NewChangePlanItemList"));
}
else
{
if (model.ChangeType != 1)
{
string takeEffectTime = base.ParmJObj.GetStringValue("TakeEffectTime");
if (string.IsNullOrWhiteSpace(takeEffectTime))
......@@ -67,6 +69,8 @@ namespace Edu.WebApi.Controllers.EduTask
return ApiResult.Failed("请选择生效日期");
}
model.TakeEffectTime = Convert.ToDateTime(takeEffectTime);
}
model.AllChangePlanModel = Common.Plugin.JsonHelper.DeserializeObject<AllChangePlanItem>(base.ParmJObj.GetStringValue("AllChangePlanItem"));
}
}
......
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