修改访视列表
parent
7888387e28
commit
067fd8f49d
|
@ -42,7 +42,7 @@ namespace IRaCIS.Application.Contracts
|
|||
|
||||
public string BlindFollowUpPrefix { get; set; }
|
||||
|
||||
//public bool SubjectHasAdded { get; set; }
|
||||
public bool IsHaveGeneratedTask { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -60,6 +60,7 @@ namespace IRaCIS.Application.Services
|
|||
var list = await query.ToListAsync();
|
||||
var trial = (await _repository.FirstOrDefaultAsync<Trial>(t => t.Id == trialId)).IfNullThrowException();
|
||||
|
||||
var isHaveGeneratedTask = (await _repository.AnyAsync<VisitTask>(t => t.TrialId == trialId));
|
||||
return new VisitPlanView()
|
||||
{
|
||||
VisitPlanList = list,
|
||||
|
@ -68,6 +69,7 @@ namespace IRaCIS.Application.Services
|
|||
IsHaveFirstGiveMedicineDate = trial.IsHaveFirstGiveMedicineDate,
|
||||
BlindBaseLineName=trial.BlindBaseLineName,
|
||||
BlindFollowUpPrefix=trial.BlindFollowUpPrefix,
|
||||
IsHaveGeneratedTask= isHaveGeneratedTask,
|
||||
//SubjectHasAdded = _subjectVisitRepository.Any(t => t.TrialId == trialId)
|
||||
};
|
||||
}
|
||||
|
|
|
@ -136,4 +136,17 @@ delete OrganTrialInfo
|
|||
|
||||
----2022-12-15
|
||||
Update Trial set BlindBaseLineName='Baseline',BlindFollowUpPrefix='Follow-up'
|
||||
update DataInspection set VisitTaskId = GeneralId where EntityName='VisitTask'
|
||||
update DataInspection set VisitTaskId = GeneralId where EntityName='VisitTask'
|
||||
|
||||
--2022-12-17 维护稽查数据
|
||||
update DataInspection set VisitTaskId= substring(JsonDetail,CHARINDEX('OriginalReReadingTaskId":"',JsonDetail)+26,36) where EntityName='VisitTaskReReading'
|
||||
update DataInspection set VisitTaskId= substring(JsonDetail,CHARINDEX('VisitTaskId":"',JsonDetail)+14,36) where EntityName='TaskMedicalReview'
|
||||
update DataInspection set VisitTaskId= substring(JsonDetail,CHARINDEX('VisitTaskId":"',JsonDetail)+14,36) where EntityName='ReadingOncologyTaskInfo'
|
||||
update DataInspection set VisitTaskId= substring(JsonDetail,CHARINDEX('VisitTaskId":"',JsonDetail)+14,36) where EntityName='ReadingMedicalReviewDialog'
|
||||
update DataInspection set VisitTaskId= substring(JsonDetail,CHARINDEX('VisitTaskId":"',JsonDetail)+14,36) where EntityName='ReadingTaskQuestionAnswer'
|
||||
update DataInspection set VisitTaskId= substring(JsonDetail,CHARINDEX('VisitTaskId":"',JsonDetail)+14,36) where EntityName='ReadingTableAnswerRowInfo'
|
||||
update DataInspection set VisitTaskId= substring(JsonDetail,CHARINDEX('VisitTaskId":"',JsonDetail)+14,36) where EntityName='ReadingMedicineQuestionAnswer'
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue