Merge branch 'master' of http://192.168.1.2:8033/IRaCIS_Core_Api
commit
3859db7c8b
|
@ -261,7 +261,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
#region 发收件人配置 确保无误
|
#region 发收件人配置 确保无误
|
||||||
|
|
||||||
|
|
||||||
var emailConfig = await _trialEmailNoticeConfigRepository.Where(t => t.TrialId == taskInfo.TrialId && t.CriterionTypeEnum == taskInfo.CriterionType && t.BusinessScenarioEnum == businessScenarioEnum)
|
var emailConfig = await _trialEmailNoticeConfigRepository.Where(t => t.TrialId == taskInfo.TrialId && t.TrialReadingCriterionId == taskInfo.TrialReadingCriterionId && t.BusinessScenarioEnum == businessScenarioEnum)
|
||||||
.Include(t => t.TrialEmailNoticeUserList).FirstOrDefaultAsync();
|
.Include(t => t.TrialEmailNoticeUserList).FirstOrDefaultAsync();
|
||||||
|
|
||||||
|
|
||||||
|
@ -369,7 +369,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sendEmailConfig.TopicDescription = "入组确认";
|
sendEmailConfig.TopicDescription = $"【入组确认报告】关于{taskInfo.ResearchProgramNo}项目{taskInfo.SubjectCode}受试者";
|
||||||
|
|
||||||
using (StreamReader SourceReader = System.IO.File.OpenText(pathToFile))
|
using (StreamReader SourceReader = System.IO.File.OpenText(pathToFile))
|
||||||
{
|
{
|
||||||
|
@ -406,7 +406,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
}
|
}
|
||||||
else if (businessScenarioEnum == CommonDocumentBusinessScenario.PDConfirmed)
|
else if (businessScenarioEnum == CommonDocumentBusinessScenario.PDConfirmed)
|
||||||
{
|
{
|
||||||
sendEmailConfig.TopicDescription = "疾病进展";
|
sendEmailConfig.TopicDescription = $"【疾病进展确认报告】关于{taskInfo.ResearchProgramNo}项目{taskInfo.SubjectCode}受试者";
|
||||||
|
|
||||||
using (StreamReader SourceReader = System.IO.File.OpenText(pathToFile))
|
using (StreamReader SourceReader = System.IO.File.OpenText(pathToFile))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue