Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-07-24 09:38:35 +08:00
3 changed files with 53 additions and 2 deletions
@@ -716,6 +716,10 @@ namespace IRaCIS.Core.Application.Service.RC
criterion.ImageDownloadEnum = ReadingImageDownload.Subejct;
criterion.ImageUploadEnum = ReadingImageUpload.IRReadingSubejctEnable;
break;
case CriterionType.Forrest:
criterion.ReadingTool = ReadingTool.NoDicom;
break;
}
}
@@ -342,6 +342,16 @@ namespace IRaCIS.Core.Application.Service
[HttpPost]
public async Task<IResponseOutput> SubmitCustomTag(ReadingCustomTagDto inDto)
{
if (inDto.Id == null&&inDto.MarkId!=null)
{
var oldMark = await _readingTaskQuestionMarkRepository.Where(x => x.MarkId == inDto.MarkId && x.QuestionId == null).FirstOrDefaultAsync();
if( oldMark != null)
{
inDto.Id = oldMark.Id;
}
}
var entity = await _readingTaskQuestionMarkRepository.InsertOrUpdateAsync(inDto, true);
return ResponseOutput.Ok(entity.Id.ToString());
}