From e1383445e2882e764338111e5012f295b8b33161 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 8 Apr 2024 14:45:39 +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.Domain.Share/Reading/ReadEnum.cs | 82 +++++++++++++------ .../Common/AuditingData.cs | 4 +- 2 files changed, 58 insertions(+), 28 deletions(-) diff --git a/IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs b/IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs index b4bf54ad2..0e482d0cd 100644 --- a/IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs +++ b/IRaCIS.Core.Domain.Share/Reading/ReadEnum.cs @@ -402,39 +402,67 @@ namespace IRaCIS.Core.Domain.Share Min = 9 } - /// - /// 数值单位 - /// - public enum ValueUnit - { - None = 0, + /// + /// 数值单位 + /// + public enum ValueUnit + { + /// + /// 无 + /// + none = 0, - /// - /// MM - /// - MM = 1, + /// + /// mm + /// + mm = 1, - /// - /// CM - /// - CM = 2, + /// + /// cm + /// + cm = 2, - /// - /// 个 - /// - Individual = 3, + /// + /// 个 + /// + individual = 3, - /// - /// 自定义 - /// - Custom = 4, - } + /// + /// 自定义 + /// + Custom = 4, + + /// + /// mm2 + /// + mm2 = 5, + + /// + /// mm3 + /// + mm3 = 6, + + /// + /// SUV + /// + SUV = 7, + + /// + /// HU + /// + HU = 8, + + /// + /// % + /// + percentage = 9, + } - /// - /// 数值类型 - /// - public enum ValueOfType + /// + /// 数值类型 + /// + public enum ValueOfType { /// diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index c0122645b..5324ea9d4 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -2719,7 +2719,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common t.QuestionEnName, QuestionId = t.Id, t.DictionaryCode, - t.ShowOrder, + t.Unit, + t.ShowOrder, AnswerType = t.Type, }).OrderBy(t => t.ShowOrder).ToListAsync(); @@ -2755,6 +2756,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common t.ReadingQuestionTrial.CustomUnit, t.DictionaryCode, t.QuestionName, + t.Unit, t.QuestionEnName, QuestionId = t.Id, t.ShowOrder,