From d86988cb8fa98efa785eed62b1dd175e5a6c6fed Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Wed, 28 Dec 2022 15:38:23 +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 --- .../Service/Inspection/FrontAuditConfigService.cs | 2 +- IRaCIS.Core.Domain/SQLFile/Test.sql | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs b/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs index 1c1ed7ee..a3ce5ba6 100644 --- a/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs +++ b/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs @@ -704,7 +704,7 @@ namespace IRaCIS.Core.Application.Service return null; } var list = await (from u in _frontAuditConfigRepository.Where(x => identificationList.Contains(x.Identification)) - join p in _frontAuditConfigRepository.Where(x => x.Code != "AuditState" && x.DictionaryCode != "AuditState" && x.EnumType == "Dictionary" && x.IsEnable) on u.Id equals p.ParentId + join p in _frontAuditConfigRepository.Where(x => x.DictionaryCode!=null &&x.DictionaryCode!=string.Empty && x.EnumType == "Dictionary" && x.IsEnable) on u.Id equals p.ParentId select new { Key = p.Code, diff --git a/IRaCIS.Core.Domain/SQLFile/Test.sql b/IRaCIS.Core.Domain/SQLFile/Test.sql index 33ce65df..de0d80c6 100644 --- a/IRaCIS.Core.Domain/SQLFile/Test.sql +++ b/IRaCIS.Core.Domain/SQLFile/Test.sql @@ -197,3 +197,8 @@ update ReadingClinicalData set ReadingClinicalDataState=3 where IsSign=1 and R ---------修改 ReadingMedicineQuestionAnswer的VisitTaskId update ReadingMedicineQuestionAnswer set ReadingMedicineQuestionAnswer.VisitTaskId=TaskMedicalReview.VisitTaskId from TaskMedicalReview inner join ReadingMedicineQuestionAnswer on ReadingMedicineQuestionAnswer.TaskMedicalReviewId=TaskMedicalReview.id + + + + +update frontAuditConfig set DictionaryCode ='' where Code='AuditState' and DictionaryCode='AuditState' \ No newline at end of file