Commit ad1e990a authored by liudong1993's avatar liudong1993

1

parent 2bc0e534
......@@ -1132,7 +1132,7 @@ namespace Property.WebApi.Controllers.User
x.BranchId,
BranchName = x.BranchId==-1?"通用": CacheManager.User.BranchReidsCache.GetBranch(x.BranchId)?.BName ?? "",
x.Enabled,
WeekdayList = x.WeekdayList.Select(x => new
WeekdayList = x.WeekdayList.OrderBy(x=>x.Id).Select(x => new
{
x.Id,
x.ApplyforId,
......@@ -1270,13 +1270,13 @@ namespace Property.WebApi.Controllers.User
Model.Id,
Model.BranchId,
BranchName = CacheManager.User.BranchReidsCache.GetBranch(Model.BranchId)?.BName ?? "",
WeekdayList = Model.WeekdayList.Select(x => new
WeekdayList = Model.WeekdayList.OrderBy(x=>x.Id).Select(x => new
{
x.Weekday,
x.StartTime,
x.EndTime
}),
SpecialList = Model.SpecialList.Select(x => new
SpecialList = Model.SpecialList.OrderBy(x=>x.Date).Select(x => new
{
Date = x.Date.Value.ToString("yyyy-MM-dd"),
x.StartTime,
......
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