|
|
|
@ -1249,6 +1249,7 @@ namespace IRaCIS.Core.Application.Service
|
|
|
|
.WhereIf(inQuery.IsReturnRequired != null, t => t.IsReturnRequired == inQuery.IsReturnRequired)
|
|
|
|
.WhereIf(inQuery.IsReturnRequired != null, t => t.IsReturnRequired == inQuery.IsReturnRequired)
|
|
|
|
.WhereIf(inQuery.IsEnable != null, t => t.IsEnable == inQuery.IsEnable)
|
|
|
|
.WhereIf(inQuery.IsEnable != null, t => t.IsEnable == inQuery.IsEnable)
|
|
|
|
.WhereIf(inQuery.IsDistinguishCriteria != null, t => t.IsDistinguishCriteria == inQuery.IsDistinguishCriteria)
|
|
|
|
.WhereIf(inQuery.IsDistinguishCriteria != null, t => t.IsDistinguishCriteria == inQuery.IsDistinguishCriteria)
|
|
|
|
|
|
|
|
.WhereIf(inQuery.BusinessModuleEnum != null, t => t.BusinessModuleEnum == inQuery.BusinessModuleEnum)
|
|
|
|
.ProjectTo<TrialSelectEmailNoticeConfigView>(_mapper.ConfigurationProvider, new { trialId = inQuery.TrialId });
|
|
|
|
.ProjectTo<TrialSelectEmailNoticeConfigView>(_mapper.ConfigurationProvider, new { trialId = inQuery.TrialId });
|
|
|
|
|
|
|
|
|
|
|
|
return await emailNoticeConfigQueryable.ToPagedListAsync(inQuery);
|
|
|
|
return await emailNoticeConfigQueryable.ToPagedListAsync(inQuery);
|
|
|
|
@ -1293,8 +1294,8 @@ namespace IRaCIS.Core.Application.Service
|
|
|
|
item.SMTPServerAddress = emailConfig.EmailSMTPServerAddress;
|
|
|
|
item.SMTPServerAddress = emailConfig.EmailSMTPServerAddress;
|
|
|
|
item.FromName = emailConfig.EmailFromName;
|
|
|
|
item.FromName = emailConfig.EmailFromName;
|
|
|
|
item.SMTPServerPort = emailConfig.EmailSMTPServerPort;
|
|
|
|
item.SMTPServerPort = emailConfig.EmailSMTPServerPort;
|
|
|
|
item.IsAutoSend = false;
|
|
|
|
item.IsAutoSend = true;
|
|
|
|
item.IsEnable = false;
|
|
|
|
item.IsEnable = true;
|
|
|
|
|
|
|
|
|
|
|
|
item.TrialReadingCriterionId = list.FirstOrDefault(t => t.CriterionType == item.CriterionTypeEnum)?.TrialReadingCriterionId;
|
|
|
|
item.TrialReadingCriterionId = list.FirstOrDefault(t => t.CriterionType == item.CriterionTypeEnum)?.TrialReadingCriterionId;
|
|
|
|
|
|
|
|
|
|
|
|
|