修改
This commit is contained in:
@@ -538,6 +538,15 @@ namespace IRaCIS.Application.Services
|
||||
|
||||
}
|
||||
|
||||
Dictionary<ClinicalLevel, int> keys = new Dictionary<ClinicalLevel, int>() {
|
||||
{ClinicalLevel.Subject,0 },
|
||||
{ClinicalLevel.ImageRead,1 },
|
||||
{ClinicalLevel.OncologyRead,2 },
|
||||
{ClinicalLevel.SubjectVisit,3 },
|
||||
};
|
||||
|
||||
result.OrderBy(x => keys[x.ClinicalDataLevel]).ToList();
|
||||
|
||||
return (result, new
|
||||
{
|
||||
SubjectCode = await _subjectRepository.Where(x => x.Id == inDto.SubjectId).Select(x => x.Code).FirstOrDefaultAsync(),
|
||||
|
||||
Reference in New Issue
Block a user