Uat_Study
parent
be94292709
commit
e10d6e9b26
|
@ -151,7 +151,7 @@ namespace IRaCIS.Core.Application.ViewModel
|
|||
/// </summary>
|
||||
public LesionType? LesionType { get; set; }
|
||||
|
||||
public Guid? CriterionId { get; set; }
|
||||
public Guid SystemCriterionId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
public async Task<List<OrganInfoView>> GetOrganInfoList(OrganInfoQuery inQuery)
|
||||
{
|
||||
var organInfoQueryable = _organInfoRepository
|
||||
|
||||
.Where(x=>x.SystemCriterionId==inQuery.SystemCriterionId)
|
||||
.WhereIf(inQuery.LesionType != null, x => x.LesionType == inQuery.LesionType)
|
||||
.ProjectTo<OrganInfoView>(_mapper.ConfigurationProvider);
|
||||
return await organInfoQueryable.ToListAsync();
|
||||
|
|
Loading…
Reference in New Issue