修改一版
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user