From 55a762f0988f9ce62fcaa6387bf839bb89580b1d Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Wed, 7 Sep 2022 16:12:04 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=98=85=E7=89=87=E4=BA=BA?=
=?UTF-8?q?=E7=B1=BB=E5=9E=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../IRaCIS.Core.Application.xml | 16 ++++++++++++++++
IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 8 ++++----
2 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
index 4b7421bd1..20e8932f0 100644
--- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
+++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml
@@ -3708,6 +3708,22 @@
+
+
+ 修改与整个访视期间最低点相比增加的值(mm)
+
+
+
+
+
+
+
+ 修改整个访视期间最低点相比增加的百分比
+
+
+
+
+
修改所有访视任务的答案
diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs
index 69fb28e83..194ef368f 100644
--- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs
+++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs
@@ -1055,8 +1055,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
{
var question = await _dbContext.QCQuestionConfigure.Where(x => x.Id == entity.ParentId).Select(x => new { x.ShowOrder, x.QuestionName }).FirstOrDefaultAsync();
- parentQuestionOrder = question.ShowOrder;
- parentQuestionName = question.QuestionName;
+ parentQuestionOrder = question?.ShowOrder;
+ parentQuestionName = question?.QuestionName;
}
@@ -1087,8 +1087,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
{
var question = await _dbContext.TrialQCQuestionConfigure.Where(x => x.Id == entity.ParentId).Select(x => new { x.ShowOrder, x.QuestionName }).FirstOrDefaultAsync();
- parentQuestionOrder = question.ShowOrder;
- parentQuestionName = question.QuestionName;
+ parentQuestionOrder = question?.ShowOrder;
+ parentQuestionName = question?.QuestionName;
}