修改一版
This commit is contained in:
@@ -311,6 +311,17 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
/// 是否关闭
|
||||
/// </summary>
|
||||
public bool IsClosedDialog { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 医学审核对话关闭原因
|
||||
/// </summary>
|
||||
public MedicalDialogClose MedicalDialogCloseEnum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对话关闭原因
|
||||
/// </summary>
|
||||
public string DialogCloseReason { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class SaveMedicalReviewInfoInDto
|
||||
|
||||
@@ -327,7 +327,9 @@ namespace IRaCIS.Core.Application.Service
|
||||
{
|
||||
await _taskMedicalReviewRepository.UpdatePartialFromQueryAsync(inDto.TaskMedicalReviewId, x => new TaskMedicalReview()
|
||||
{
|
||||
IsClosedDialog = inDto.IsClosedDialog
|
||||
IsClosedDialog = inDto.IsClosedDialog,
|
||||
MedicalDialogCloseEnum=inDto.MedicalDialogCloseEnum,
|
||||
DialogCloseReason=inDto.DialogCloseReason,
|
||||
});
|
||||
|
||||
var result = await _taskMedicalReviewRepository.SaveChangesAsync();
|
||||
@@ -385,7 +387,8 @@ namespace IRaCIS.Core.Application.Service
|
||||
});
|
||||
await _taskMedicalReviewRepository.BatchUpdateNoTrackingAsync(x => !x.IsClosedDialog && x.Id == inDto.TaskMedicalReviewId, x => new TaskMedicalReview()
|
||||
{
|
||||
IsClosedDialog = true
|
||||
IsClosedDialog = true,
|
||||
MedicalDialogCloseEnum= MedicalDialogClose.IRApplyReReading,
|
||||
});
|
||||
}
|
||||
ReadingMedicalReviewDialog dialog = new ReadingMedicalReviewDialog()
|
||||
|
||||
Reference in New Issue
Block a user