From 68b233559ee53a55d8aa8bb09471ef39d7e517fd Mon Sep 17 00:00:00 2001
From: "{872297557@qq.com}" <872297557@qq.com>
Date: Thu, 12 Jan 2023 14:31:37 +0800
Subject: [PATCH] x
---
.../IRaCIS.Core.Application.xml | 35 +++++++++++++------
.../ReadingImageTaskService.cs | 10 +++---
2 files changed, 31 insertions(+), 14 deletions(-)
diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
index b0e5a955..31ca1366 100644
--- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
+++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
@@ -3863,11 +3863,6 @@
自定义计算标记
-
-
- 限制编辑
-
-
数值类型
@@ -3878,6 +3873,11 @@
单位
+
+
+ 限制编辑
+
+
自定义单位
@@ -3936,6 +3936,11 @@
单位
+
+
+ 限制编辑
+
+
字典code
@@ -4289,6 +4294,11 @@
单位
+
+
+ 限制编辑
+
+
Id
@@ -4604,6 +4614,11 @@
数值类型
+
+
+ 限制编辑
+
+
数据来源
@@ -4899,6 +4914,11 @@
单位
+
+
+ 限制编辑
+
+
自定义单位
@@ -4914,11 +4934,6 @@
自定义计算标记
-
-
- 限制编辑
-
-
问题英文名称
diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs
index 7982be81..297760ea 100644
--- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs
@@ -1708,10 +1708,12 @@ namespace IRaCIS.Application.Services
SubjectCode = x.Subject.Code,
TrialReadingCriterionId = x.TrialReadingCriterionId,
}).FirstOrDefaultAsync();
- if (task == null)
- {
- throw new BusinessValidationFailedException(_localizer["ReadingImage_TaskFinish"]);
- }
+
+ }
+
+ if (task == null)
+ {
+ throw new BusinessValidationFailedException(_localizer["ReadingImage_TaskFinish"]);
}
if (task.SubjectCode.IsNullOrEmpty())