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