修改一版
parent
ad7c93ee64
commit
eb890b0c76
|
@ -311,6 +311,17 @@ 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>
|
||||||
|
public string DialogCloseReason { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SaveMedicalReviewInfoInDto
|
public class SaveMedicalReviewInfoInDto
|
||||||
|
|
|
@ -327,7 +327,9 @@ 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,
|
||||||
});
|
});
|
||||||
|
|
||||||
var result = await _taskMedicalReviewRepository.SaveChangesAsync();
|
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()
|
await _taskMedicalReviewRepository.BatchUpdateNoTrackingAsync(x => !x.IsClosedDialog && x.Id == inDto.TaskMedicalReviewId, x => new TaskMedicalReview()
|
||||||
{
|
{
|
||||||
IsClosedDialog = true
|
IsClosedDialog = true,
|
||||||
|
MedicalDialogCloseEnum= MedicalDialogClose.IRApplyReReading,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
ReadingMedicalReviewDialog dialog = new ReadingMedicalReviewDialog()
|
ReadingMedicalReviewDialog dialog = new ReadingMedicalReviewDialog()
|
||||||
|
|
|
@ -82,6 +82,34 @@ namespace IRaCIS.Core.Domain.Share
|
||||||
HaveSigned=2
|
HaveSigned=2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum MedicalDialogClose
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 无
|
||||||
|
/// </summary>
|
||||||
|
None = 0,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 问题已解决
|
||||||
|
/// </summary>
|
||||||
|
ProblemSolved = 1,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 问题无法解决
|
||||||
|
/// </summary>
|
||||||
|
Unresolvable = 2,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// IR申请重阅
|
||||||
|
/// </summary>
|
||||||
|
IRApplyReReading = 3,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 其他原因
|
||||||
|
/// </summary>
|
||||||
|
OtherReason = 4
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -154,6 +154,17 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public bool IsSendMessage { get; set; } = false;
|
public bool IsSendMessage { get; set; } = false;
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 医学审核对话关闭原因
|
||||||
|
/// </summary>
|
||||||
|
public MedicalDialogClose MedicalDialogCloseEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 对话关闭原因
|
||||||
|
/// </summary>
|
||||||
|
public string DialogCloseReason { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue