Uat_Study
he 2022-08-18 12:04:08 +08:00
parent be94292709
commit e10d6e9b26
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ namespace IRaCIS.Core.Application.ViewModel
/// </summary> /// </summary>
public LesionType? LesionType { get; set; } public LesionType? LesionType { get; set; }
public Guid? CriterionId { get; set; } public Guid SystemCriterionId { get; set; }
} }

View File

@ -91,7 +91,7 @@ namespace IRaCIS.Core.Application.Service
public async Task<List<OrganInfoView>> GetOrganInfoList(OrganInfoQuery inQuery) public async Task<List<OrganInfoView>> GetOrganInfoList(OrganInfoQuery inQuery)
{ {
var organInfoQueryable = _organInfoRepository var organInfoQueryable = _organInfoRepository
.Where(x=>x.SystemCriterionId==inQuery.SystemCriterionId)
.WhereIf(inQuery.LesionType != null, x => x.LesionType == inQuery.LesionType) .WhereIf(inQuery.LesionType != null, x => x.LesionType == inQuery.LesionType)
.ProjectTo<OrganInfoView>(_mapper.ConfigurationProvider); .ProjectTo<OrganInfoView>(_mapper.ConfigurationProvider);
return await organInfoQueryable.ToListAsync(); return await organInfoQueryable.ToListAsync();