修改一版
parent
9f32f865e7
commit
1d70e1cf15
|
@ -46,7 +46,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// <summary>
|
||||
/// 是否生效
|
||||
/// </summary>
|
||||
public int? IsTakeEffect { get; set; }
|
||||
public int? IsTakeEffect { get; set; } = 0;
|
||||
|
||||
|
||||
public List<Guid> SiteIds { get; set; } = new List<Guid>();
|
||||
|
|
|
@ -62,7 +62,7 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
}).ToList()
|
||||
});
|
||||
var pageList = await subjectquery.ToPagedListAsync(dto.PageIndex, dto.PageSize, dto.SortField == null ? "SiteCode" : dto.SortField,
|
||||
var pageList = await subjectquery.ToPagedListAsync(dto.PageIndex, dto.PageSize, dto.SortField == null|| dto.SortField==string.Empty ? "SiteCode" : dto.SortField,
|
||||
dto.Asc);
|
||||
|
||||
return (pageList, new
|
||||
|
|
Loading…
Reference in New Issue