下拉框增加参数
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-07-16 16:13:57 +08:00
parent a60661aaa5
commit 9924375f82
1 changed files with 4 additions and 4 deletions

View File

@ -210,16 +210,16 @@ namespace IRaCIS.Application.Services
}
public async Task<List<string>> GetDicomCalledAEList()
public async Task<List<string>> GetDicomCalledAEList(Guid trialId)
{
var list = await _scpStudyRepository.Select(t => t.CalledAE).Distinct().ToListAsync();
var list = await _scpStudyRepository.Where(t=>t.TrialId==trialId).Select(t => t.CalledAE).Distinct().ToListAsync();
return list;
}
public async Task<List<string>> GetDicomCallingAEList()
public async Task<List<string>> GetDicomCallingAEList(Guid trialId)
{
var list = await _scpStudyRepository.Select(t => t.CallingAE).Distinct().ToListAsync();
var list = await _scpStudyRepository.Where(t => t.TrialId == trialId).Select(t => t.CallingAE).Distinct().ToListAsync();
return list;
}