修改
continuous-integration/drone/push Build is passing Details

IRC_NewDev
he 2024-11-21 13:32:14 +08:00
parent c08bad2fec
commit 6c434e2ace
3 changed files with 11 additions and 4 deletions

View File

@ -1146,6 +1146,13 @@
<param name="inDto"></param>
<returns></returns>
</member>
<member name="M:IRaCIS.Core.Application.Service.DoctorService.DeleteSummarizeInfo(IRaCIS.Application.Contracts.DeleteSummarizeInfoInDto)">
<summary>
删除概述
</summary>
<param name="inDto"></param>
<returns></returns>
</member>
<member name="M:IRaCIS.Core.Application.Service.DoctorService.GetSummarizeInfo(IRaCIS.Application.Contracts.GetSummarizeInfoInDto)">
<summary>
获取概述

View File

@ -369,7 +369,7 @@ namespace IRaCIS.Application.Contracts
{
public Guid DoctorId { get; set; }
public Guid? TrialId { get; set; }
public Guid? TrialId { get; set; } = null;
}
public class SummarizeInfoDto

View File

@ -273,8 +273,7 @@ namespace IRaCIS.Core.Application.Service
[HttpPost]
public async Task<UpdateGneralSituationDto> GetSummarizeInfo(GetSummarizeInfoInDto inDto)
{
var result = await _doctorSummarizeRepository.Where(t => t.Id == inDto.DoctorId && t.TrialId == inDto.TrialId)
.ProjectTo<SummarizeInfoDto>(_mapper.ConfigurationProvider).ToListAsync();
if (inDto.TrialId != null)
{
var doctorInfo = await trialExperienceService.GetTrialDoctorInfo(new GetTrialDoctorInfoInDto()
@ -284,7 +283,8 @@ namespace IRaCIS.Core.Application.Service
});
}
var result = await _doctorSummarizeRepository.Where(t => t.DoctorId == inDto.DoctorId && t.TrialId == inDto.TrialId)
.ProjectTo<SummarizeInfoDto>(_mapper.ConfigurationProvider).ToListAsync();
return new UpdateGneralSituationDto() {
SummarizeList= result
};