修改中心调研
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-14 14:38:15 +08:00
parent a6a6765d9b
commit 68dc09d969
4 changed files with 5 additions and 6 deletions
@@ -190,10 +190,8 @@ namespace IRaCIS.Core.Application.Contracts
TrialSiteSurvey? currentEntity = null;
var userList = await _trialSiteUserRepository.Where(t => t.TrialId == userInfo.TrialId && t.TrialSiteId == userInfo.TrialSiteId, false, true).ProjectTo<TrialSiteUserSurvey>(_mapper.ConfigurationProvider).ToListAsync();
var list = await _trialSiteUserRepository.Where(t => t.TrialId == userInfo.TrialId && t.TrialSiteId == userInfo.TrialSiteId, false, true).ToListAsync();
var userList = _mapper.Map<List<TrialSiteUserSurvey>>(list);
//普通登录
if (userInfo.IsUpdate == false)
@@ -36,7 +36,8 @@ namespace IRaCIS.Core.Application.AutoMapper
.ForMember(d => d.IsGenerateAccount, u => u.MapFrom(c => true))
.ForMember(d => d.IsGenerateSuccess, u => u.MapFrom(c => true))
.ForMember(d => d.SystemUserId, u => u.MapFrom(c => c.UserId))
.ForMember(d => d.IsJoin, u => u.MapFrom(c => !c.IsDeleted));
.ForMember(d => d.IsJoin, u => u.MapFrom(c => !c.IsDeleted))
.ForMember(d => d.CreateUser, u => u.Ignore());
//列表