修改
This commit is contained in:
@@ -402,7 +402,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
{
|
||||
public Guid VisitTaskId { get; set; }
|
||||
|
||||
public Guid QuestionId { get; set; }
|
||||
public Guid QuestionId { get; set; } = default(Guid);
|
||||
|
||||
public Guid RowId { get; set; }
|
||||
|
||||
|
||||
@@ -1395,6 +1395,8 @@ namespace IRaCIS.Application.Services
|
||||
return ResponseOutput.Ok(true);
|
||||
}
|
||||
|
||||
inDto.QuestionId = deleteRowInfo.QuestionId;
|
||||
|
||||
if (await _readingTableAnswerRowInfoRepository.AnyAsync(x => x.SplitRowId == deleteRowInfo.Id && x.MergeRowId == deleteRowInfo.Id))
|
||||
{
|
||||
throw new BusinessValidationFailedException(_localizer["ReadingImage_DeleteError"]);
|
||||
|
||||
Reference in New Issue
Block a user