Uat_Study
parent
eb755734a8
commit
7a6358f167
|
@ -217,10 +217,10 @@ namespace IRaCIS.Core.Application.ViewModel
|
|||
public class OrganInfoQuery
|
||||
{
|
||||
|
||||
///// <summary>
|
||||
///// 病灶类型
|
||||
///// </summary>
|
||||
//public OrganType? OrganType { get; set; }
|
||||
/// <summary>
|
||||
/// 病灶类型
|
||||
/// </summary>
|
||||
public OrganType? OrganType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 病灶类型
|
||||
|
|
|
@ -135,6 +135,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
var organInfoQueryable = _organInfoRepository
|
||||
.Where(x=>x.SystemCriterionId==inQuery.SystemCriterionId)
|
||||
.WhereIf(inQuery.LesionType != null, x => organs.Contains(x.OrganType))
|
||||
.WhereIf(inQuery.OrganType != null, x => x.OrganType == inQuery.OrganType)
|
||||
.ProjectTo<OrganInfoView>(_mapper.ConfigurationProvider);
|
||||
return await organInfoQueryable.ToListAsync();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue