修改一版

Uat_Study
he 2022-06-01 11:57:03 +08:00
parent 9f32f865e7
commit 1d70e1cf15
2 changed files with 2 additions and 2 deletions

View File

@ -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>();

View File

@ -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