修复bug

This commit is contained in:
2022-06-02 15:18:42 +08:00
parent c2db091522
commit c541208290
5 changed files with 15 additions and 12 deletions
@@ -357,7 +357,7 @@ namespace IRaCIS.Application.Services
public async Task SiteSurveyUserJoinEmail(Guid trialId, Guid userId, string baseUrl, string rootUrl)
{
var sysUserInfo = (await _userRepository.Where(t => t.Id == userId).FirstOrDefaultAsync()).IfNullThrowException();
var sysUserInfo = (await _userRepository.Where(t => t.Id == userId).Include(t => t.UserTypeRole).FirstOrDefaultAsync()).IfNullThrowException();
var trialInfo = await _trialRepository.FirstOrDefaultAsync(t => t.Id == trialId);