Uat_Study
hang 2022-06-29 15:09:16 +08:00
parent 7a61ede334
commit 6595402aff
1 changed files with 3 additions and 2 deletions

View File

@ -120,9 +120,10 @@ namespace IRaCIS.Core.Application.Service
/// 获取医学经理列表 /// 获取医学经理列表
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
public async Task<List<UserSimpleInfo>> GetMIMUserList() [HttpDelete("{trialId:guid}")]
public async Task<List<UserSimpleInfo>> GetMIMUserList(Guid trialId)
{ {
var query = _trialUserRepository.Where(t => t.User.UserTypeEnum == Domain.Share.UserTypeEnum.MIM).Select(t => t.User).ProjectTo<UserSimpleInfo>(_mapper.ConfigurationProvider); var query = _trialUserRepository.Where(t => t.User.UserTypeEnum == Domain.Share.UserTypeEnum.MIM && t.TrialId== trialId).Select(t => t.User).ProjectTo<UserSimpleInfo>(_mapper.ConfigurationProvider);
return await query.ToListAsync(); return await query.ToListAsync();
} }