修改接口
This commit is contained in:
@@ -20,10 +20,6 @@
|
||||
<ProjectReference Include="..\IRaCIS.Core.Domain.Share\IRaCIS.Core.Domain.Share.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="SQLFile\" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -16,7 +16,6 @@ namespace IRaCIS.Core.Domain.Models
|
||||
public List<SystemDocConfirmedUser> SystemDocConfirmedList { get; set; }
|
||||
|
||||
public List<UserDoctor> UserDoctors { get; set; } = new List<UserDoctor>();
|
||||
public List<UserRole> UserRoleList { get; set; } = new List<UserRole>();
|
||||
public List<TrialUser> UserTrials { get; set; } = new List<TrialUser>();
|
||||
|
||||
public List<VisitTask> VisitTaskList { get; set; }
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
{
|
||||
[Table("UserRole")]
|
||||
public partial class UserRole : Entity
|
||||
{
|
||||
public Role Role { get; set; }
|
||||
|
||||
public User User { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
public Guid RoleId { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -89,11 +89,13 @@ go
|
||||
|
||||
|
||||
update ReadingQuestionCriterionTrial set DigitPlaces=DigitPlaces-1 where DigitPlaces is not null
|
||||
|
||||
|
||||
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'
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
--无序维护sql
|
||||
update VisitTask set TaskBlindName='Follow Up '
|
||||
from VisitTask
|
||||
INNER join ReadingQuestionCriterionTrial on VisitTask.TrialReadingCriterionId=ReadingQuestionCriterionTrial.Id
|
||||
INNER join SubjectVisit on VisitTask.SourceSubjectVisitId=SubjectVisit.Id
|
||||
where SubjectVisit.IsBaseLine=0 and ReadingQuestionCriterionTrial.IsReadingTaskViewInOrder=0
|
||||
|
||||
|
||||
-- 有序维护sql
|
||||
update VisitTask set TaskBlindName='Follow Up '+ cast(sv.rn as varchar)
|
||||
from VisitTask
|
||||
join ReadingQuestionCriterionTrial on VisitTask.TrialReadingCriterionId=ReadingQuestionCriterionTrial.Id
|
||||
--join SubjectVisit on VisitTask.SourceSubjectVisitId=SubjectVisit.Id
|
||||
join ( select Id SubjectVisitId, IsBaseLine, ROW_NUMBER() over( partition by SubjectId order by VisitNum asc )-1 rn,VisitNum from SubjectVisit) sv on VisitTask.SourceSubjectVisitId=sv.SubjectVisitId
|
||||
where sv.IsBaseLine=0 and ReadingQuestionCriterionTrial.IsReadingTaskViewInOrder=1
|
||||
|
||||
update VisitTask set TaskBlindName='Baseline' from VisitTask xiuga
|
||||
join SubjectVisit on VisitTask.SourceSubjectVisitId=SubjectVisit.Id where SubjectVisit.IsBaseLine=1
|
||||
|
||||
update Dictionary set code =0 where Id='15bb5529-a6fe-439f-5196-08da179a7080'
|
||||
update Dictionary set code =1 where Id='0628d7be-afba-4471-5197-08da179a7080'
|
||||
update Dictionary set code =2 where Id='41bfec4b-dbfb-401d-5198-08da179a7080'
|
||||
update Dictionary set code =-1 where Id='1fac678d-69b6-41c3-5199-08da179a7080'
|
||||
go
|
||||
|
||||
|
||||
update ReadingQuestionCriterionTrial set DigitPlaces=DigitPlaces-1 where DigitPlaces is not null
|
||||
update ReadingQuestionCriterionTrial set DigitPlaces=-1 where DigitPlaces=3
|
||||
|
||||
|
||||
--2022 12 -9 同步
|
||||
-- Dictionary UserTypeMenu Menu FrontAuditConfig ReadingQuestionCriterionSystem ReadingTableQuestionSystem
|
||||
|
||||
|
||||
Reference in New Issue
Block a user