Uat_Study
he 2022-07-04 17:30:31 +08:00
parent 11f4d7e090
commit c2370c16fc
3 changed files with 27 additions and 0 deletions

1
.gitignore vendored
View File

@ -366,3 +366,4 @@ FodyWeavers.xsd
/TrialData/4067198c-f9c4-47de-705a-08da12df3a17/6dedb49c-874c-4f7c-5c0d-08d947774c19
/TrialData/2a864970-1832-4cf9-f3ab-08da0cd341a0/01a4d468-caa4-41a2-ab36-c42ba30130ac/3210c828-cf32-4a70-fa40-08da0cd72d16/9a3b5449-ac01-4df1-bf24-08da0cd72d2a/Dicom/d287dde0-b9d1-9b37-28bb-371b6a445cf1
TrialData
/IRaCIS.Core.Application/IRaCIS.Core.Application.xml

View File

@ -74,6 +74,15 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
}
public class ClosedMedicalReviewDialogInDto
{
public Guid TaskMedicalReviewId { get; set; }
/// <summary>
/// 是否关闭
/// </summary>
public bool IsClosedDialog { get; set; }
}
public class SaveMedicalReviewInfoInDto
{

View File

@ -257,6 +257,23 @@ namespace IRaCIS.Core.Application.Service
return ResponseOutput.Result(result);
}
/// <summary>
/// 关闭医学审核对话
/// </summary>
/// <returns></returns>
[HttpPost]
public async Task<IResponseOutput> ClosedMedicalReviewDialog(ClosedMedicalReviewDialogInDto inDto)
{
await _taskMedicalReviewRepository.UpdatePartialFromQueryAsync(inDto.TaskMedicalReviewId, x => new TaskMedicalReview()
{
IsClosedDialog = inDto.IsClosedDialog
});
var result = await _taskMedicalReviewRepository.SaveChangesAsync();
return ResponseOutput.Result(result);
}
/// <summary>
/// 发送对话消息
/// </summary>