Commit 992cb6cf authored by 黄奎's avatar 黄奎

页面修改

parent 051f16d9
......@@ -351,7 +351,7 @@ namespace Edu.Module.Course
message = "班级不存在";
return flag;
}
if (demodel.JoinType == OrderJoinTypeEnum.Normal)
if (demodel.JoinType == OrderJoinTypeEnum.Normal|| demodel.JoinType == OrderJoinTypeEnum.RenewOrder)
{
demodel.CourseId = classModel.CouseId;
}
......@@ -528,7 +528,7 @@ namespace Edu.Module.Course
{
if (orderModel.EffectStatus != 2)
{
if (demodel.EffectTime < Convert.ToDateTime(Common.ConvertHelper.FormatDate(DateTime.Now)))
if (Convert.ToDateTime(Common.ConvertHelper.FormatTime(demodel.EffectTime)) < Convert.ToDateTime(Common.ConvertHelper.FormatTime(DateTime.Now)))
{
demodel.EffectStatus = 1;
}
......@@ -641,7 +641,7 @@ namespace Edu.Module.Course
{
if (demodel.JoinType == OrderJoinTypeEnum.InsertClass)
{
if (demodel.EffectTime < Convert.ToDateTime(Common.ConvertHelper.FormatDate(DateTime.Now)))
if (Convert.ToDateTime(Common.ConvertHelper.FormatTime(demodel.EffectTime)) < Convert.ToDateTime(Common.ConvertHelper.FormatTime(DateTime.Now)))
{
demodel.EffectStatus = 1;
}
......
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