From 7467f2ae113311408030c055b72d3a6812e3fe50 Mon Sep 17 00:00:00 2001
From: he <109787524@qq.com>
Date: Tue, 20 May 2025 10:28:42 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
IRaCIS.Core.Application/Service/QC/QCOperationService.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs
index f3338c873..2d460b07b 100644
--- a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs
+++ b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs
@@ -319,7 +319,7 @@ namespace IRaCIS.Core.Application.Image.QA
///
///
[HttpPut]
- public async Task AuditImageBack(Guid iamgeBackRecordId, bool isAgree,string resultRemark)
+ public async Task AuditImageBack(Guid iamgeBackRecordId, bool isAgree,string? resultRemark)
{
var backRecord = (await _subjectVisitImageBackRecordReposiotry.FirstOrDefaultAsync(t => t.Id == iamgeBackRecordId)).IfNullThrowException();
@@ -414,7 +414,7 @@ namespace IRaCIS.Core.Application.Image.QA
}
backRecord.AuditTime = DateTime.Now;
- backRecord.ResultRemark = resultRemark;
+ backRecord.ResultRemark = resultRemark??string.Empty;
await _subjectVisitRepository.SaveChangesAsync();
return ResponseOutput.Ok();