Commit 63546557 authored by 黄奎's avatar 黄奎

页面修改

parent c8c568be
......@@ -90,5 +90,10 @@ namespace Edu.Model.Entity.Customer
/// 删除状态(0-正常,1-禁用)
/// </summary>
public DateStateEnum Status { get; set; }
/// <summary>
/// 兑换截止日期
/// </summary>
public DateTime ExchangeEndTime { get; set; }
}
}
......@@ -66,5 +66,10 @@ namespace Edu.Model.ViewModel.Customer
return list;
}
}
/// <summary>
/// 兑换截止日期
/// </summary>
public string ExchangeEndTimeStr { get { return Common.ConvertHelper.FormatTime(this.ExchangeEndTime); } }
}
}
......@@ -171,6 +171,7 @@ namespace Edu.Module.Customer
{nameof(RB_Customer_Task_Extend.TaskDesc),model.TaskDesc },
{nameof(RB_Customer_Task_Extend.UpdateBy),model.UpdateBy },
{nameof(RB_Customer_Task_Extend.UpdateTime),model.UpdateTime },
{nameof(RB_Customer_Task_Extend.ExchangeEndTime),model.ExchangeEndTime },
};
flag = customer_TaskRepository.Update(fileds, new WhereHelper(nameof(RB_Customer_Task_Extend.Id), model.Id));
}
......
......@@ -200,8 +200,8 @@ namespace Edu.WebApi.Controllers.Customer
TaskStartTime =base.ParmJObj.GetDateTime("TaskStartTime"),
TaskEndTime=base.ParmJObj.GetDateTime("TaskEndTime"),
TaskDesc=base.ParmJObj.GetStringValue("TaskDesc"),
ExchangeEndTime=base.ParmJObj.GetDateTime("ExchangeEndTime"),
};
string taskImageList = base.ParmJObj.GetStringValue("TaskImageList");
List<string> imgList = new List<string>();
if (!string.IsNullOrEmpty(taskImageList))
......
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