修改一致性分析规则和稽查
This commit is contained in:
@@ -91,4 +91,12 @@ go
|
||||
update ReadingQuestionCriterionTrial set DigitPlaces=DigitPlaces-1 where DigitPlaces is not null
|
||||
|
||||
|
||||
update ReadingQuestionCriterionTrial set DigitPlaces=-1 where DigitPlaces=3
|
||||
update ReadingQuestionCriterionTrial set DigitPlaces=-1 where DigitPlaces=3
|
||||
|
||||
|
||||
--阅片标准维护
|
||||
update DataInspection set ObjectRelationParentId3 = (select top 1 TrialReadingCriterionId from SubjectUser where Id =DataInspection.GeneralId) where EntityName='SubjectUser'
|
||||
update DataInspection set ObjectRelationParentId2 = (select top 1 TrialReadingCriterionId from ReadingPeriodSet where Id =DataInspection.GeneralId) where EntityName='ReadingPeriodSet'
|
||||
update DataInspection set ObjectRelationParentId2 = (select top 1 TrialReadingCriterionId from ReadModule where Id =DataInspection.GeneralId) where EntityName='ReadModule'
|
||||
update DataInspection set ObjectRelationParentId2 = (select top 1 TrialReadingCriterionId from TaskConsistentRule where Id =DataInspection.GeneralId) where EntityName='TaskConsistentRule'
|
||||
update DataInspection set ObjectRelationParentId3 = (select top 1 TrialReadingCriterionId from VisitTask where Id =DataInspection.GeneralId) where EntityName='VisitTask'
|
||||
|
||||
@@ -121,10 +121,6 @@ namespace IRaCIS.Core.Domain.Models
|
||||
/// </summary>
|
||||
public string Identification { get; set; } = string.Empty;
|
||||
|
||||
///// <summary>
|
||||
///// 访视计划ID
|
||||
///// </summary>
|
||||
//public Guid? VisitStageId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 稽查的对象Id
|
||||
@@ -146,10 +142,17 @@ namespace IRaCIS.Core.Domain.Models
|
||||
|
||||
public Guid? ObjectRelationParentId2 { get; set; }
|
||||
|
||||
public Guid? ObjectRelationParentId3 { get; set; }
|
||||
|
||||
|
||||
public string EntityName { get; set; }
|
||||
|
||||
|
||||
public Guid? TrialReadingCriterionId { get; set; }
|
||||
|
||||
public Guid? DoctorUserId { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user