修改一版
parent
a5e7d6eca2
commit
b03a5da2a1
|
@ -312,6 +312,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsClosedDialog { get; set; }
|
public bool IsClosedDialog { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 医学审核对话关闭原因
|
||||||
|
/// </summary>
|
||||||
|
public MedicalDialogClose MedicalDialogCloseEnum { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 对话关闭原因
|
/// 对话关闭原因
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -328,9 +328,20 @@ namespace IRaCIS.Core.Application.Service
|
||||||
await _taskMedicalReviewRepository.UpdatePartialFromQueryAsync(inDto.TaskMedicalReviewId, x => new TaskMedicalReview()
|
await _taskMedicalReviewRepository.UpdatePartialFromQueryAsync(inDto.TaskMedicalReviewId, x => new TaskMedicalReview()
|
||||||
{
|
{
|
||||||
IsClosedDialog = inDto.IsClosedDialog,
|
IsClosedDialog = inDto.IsClosedDialog,
|
||||||
|
MedicalDialogCloseEnum=inDto.MedicalDialogCloseEnum,
|
||||||
DialogCloseReason=inDto.DialogCloseReason,
|
DialogCloseReason=inDto.DialogCloseReason,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
ReadingMedicalReviewDialog dialog = new ReadingMedicalReviewDialog()
|
||||||
|
{
|
||||||
|
TaskMedicalReviewId = inDto.TaskMedicalReviewId,
|
||||||
|
UserTypeShortName = _userInfo.UserTypeShortName,
|
||||||
|
Content = "MIM关闭医学审核对话",
|
||||||
|
UserTypeEnumInt = _userInfo.UserTypeEnumInt,
|
||||||
|
};
|
||||||
|
|
||||||
|
await _readingMedicalReviewDialogRepository.AddAsync(dialog);
|
||||||
var result = await _taskMedicalReviewRepository.SaveChangesAsync();
|
var result = await _taskMedicalReviewRepository.SaveChangesAsync();
|
||||||
return ResponseOutput.Result(result);
|
return ResponseOutput.Result(result);
|
||||||
}
|
}
|
||||||
|
@ -387,7 +398,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
await _taskMedicalReviewRepository.BatchUpdateNoTrackingAsync(x => !x.IsClosedDialog && x.Id == inDto.TaskMedicalReviewId, x => new TaskMedicalReview()
|
await _taskMedicalReviewRepository.BatchUpdateNoTrackingAsync(x => !x.IsClosedDialog && x.Id == inDto.TaskMedicalReviewId, x => new TaskMedicalReview()
|
||||||
{
|
{
|
||||||
IsClosedDialog = true,
|
IsClosedDialog = true,
|
||||||
DialogCloseReason= "IR申请重阅",
|
MedicalDialogCloseEnum = MedicalDialogClose.IRApplyReReading,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
ReadingMedicalReviewDialog dialog = new ReadingMedicalReviewDialog()
|
ReadingMedicalReviewDialog dialog = new ReadingMedicalReviewDialog()
|
||||||
|
|
|
@ -153,7 +153,13 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsSendMessage { get; set; } = false;
|
public bool IsSendMessage { get; set; } = false;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
|
/// <summary>
|
||||||
|
/// 医学审核对话关闭原因
|
||||||
|
/// </summary>
|
||||||
|
public MedicalDialogClose MedicalDialogCloseEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
/// 对话关闭原因
|
/// 对话关闭原因
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string DialogCloseReason { get; set; } = string.Empty;
|
public string DialogCloseReason { get; set; } = string.Empty;
|
||||||
|
|
Loading…
Reference in New Issue