Uat_Study
parent
0611bcb8d3
commit
5944db5e89
|
@ -2050,6 +2050,11 @@
|
|||
是否完整
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.GetReadingClinicalDataListOutDto.ReadingId">
|
||||
<summary>
|
||||
访视Id 或者模块Id
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.GetReadingClinicalDataListOutDto.ClinicalDataSetName">
|
||||
<summary>
|
||||
项目配置临床类型Name
|
||||
|
|
|
@ -447,6 +447,7 @@ namespace IRaCIS.Application.Services
|
|||
{
|
||||
ClinicalDataLevel = x.ClinicalDataTrialSet.ClinicalDataLevel,
|
||||
SubjectId = x.SubjectId,
|
||||
ReadingId= x.ReadingId,
|
||||
ClinicalDataSetName = x.ClinicalDataTrialSet.ClinicalDataSetName,
|
||||
ClinicalDataTrialSetId = x.ClinicalDataTrialSetId,
|
||||
IsSign = x.IsSign,
|
||||
|
@ -477,9 +478,12 @@ namespace IRaCIS.Application.Services
|
|||
result = result.Where(x => !(x.ClinicalUploadType == ClinicalUploadType.PDF && x.FileList.Count() == 0)).ToList();
|
||||
// 需要排除表格为空的数据
|
||||
|
||||
var tablecount = (await _previousHistoryRepository.Where(x => x.SubjectVisitId == inDto.ReadingId).CountAsync()) +
|
||||
(await _previousOtherRepository.Where(x => x.SubjectVisitId == inDto.ReadingId).CountAsync()) +
|
||||
(await _previousSurgeryRepository.Where(x => x.SubjectVisitId == inDto.ReadingId).CountAsync());
|
||||
|
||||
var readingIds = result.Select(x => x.ReadingId).ToList();
|
||||
|
||||
var tablecount = (await _previousHistoryRepository.Where(x => readingIds.Contains(x.SubjectVisitId)).CountAsync()) +
|
||||
(await _previousOtherRepository.Where(x => readingIds.Contains(x.SubjectVisitId)).CountAsync()) +
|
||||
(await _previousSurgeryRepository.Where(x => readingIds.Contains(x.SubjectVisitId)).CountAsync());
|
||||
|
||||
if (tablecount == 0)
|
||||
{
|
||||
|
|
|
@ -298,6 +298,12 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
public Guid Id { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 访视Id 或者模块Id
|
||||
/// </summary>
|
||||
public Guid ReadingId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 项目配置临床类型Name
|
||||
/// </summary>
|
||||
|
|
|
@ -137,7 +137,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
#endregion
|
||||
|
||||
|
||||
#region 项目
|
||||
#region 项目
|
||||
|
||||
/// 获取项目的医学审核问题
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue