修改邮件发送多次bug
parent
f750f2d4c9
commit
ec93a4f4dc
|
@ -604,7 +604,7 @@
|
||||||
</member>
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Service.TrialEmailNoticeConfigService.BaseBusinessScenarioSendEmailAsync(System.Guid,System.Nullable{System.Boolean},IRaCIS.Core.Domain.Share.Common.EmailStoreSendMode,System.String)">
|
<member name="M:IRaCIS.Core.Application.Service.TrialEmailNoticeConfigService.BaseBusinessScenarioSendEmailAsync(System.Guid,System.Nullable{System.Boolean},IRaCIS.Core.Domain.Share.Common.EmailStoreSendMode,System.String)">
|
||||||
<summary>
|
<summary>
|
||||||
测试邮件 带附件 填充word --前端不需要用
|
测试邮件 带附件 填充word --前端不需
|
||||||
</summary>
|
</summary>
|
||||||
<param name="visitTaskId"></param>
|
<param name="visitTaskId"></param>
|
||||||
<param name="isMedicalReviewAndSuggestApplyReReading"></param>
|
<param name="isMedicalReviewAndSuggestApplyReReading"></param>
|
||||||
|
|
|
@ -180,7 +180,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
var isNeedSend = true;
|
var isNeedSend = true;
|
||||||
|
|
||||||
if (pdAnswer == "是")
|
if (pdAnswer == "是" && isMedicalReviewAndSuggestApplyReReading==null)
|
||||||
{
|
{
|
||||||
isNeedSend = true;
|
isNeedSend = true;
|
||||||
|
|
||||||
|
@ -458,6 +458,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
var isNeedSend = true;
|
var isNeedSend = true;
|
||||||
var minUserIdList = _trialUserRepository.Where(t => t.User.UserTypeEnum == Domain.Share.UserTypeEnum.MIM && t.TrialId == taskInfo.TrialId).Select(t => t.UserId).ToList();
|
var minUserIdList = _trialUserRepository.Where(t => t.User.UserTypeEnum == Domain.Share.UserTypeEnum.MIM && t.TrialId == taskInfo.TrialId).Select(t => t.UserId).ToList();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//入组确认 根据每个标准配置的是否自动发送,发送邮件与否
|
//入组确认 根据每个标准配置的是否自动发送,发送邮件与否
|
||||||
if (businessScenarioEnum == CommonDocumentBusinessScenario.EnrollConfirmed)
|
if (businessScenarioEnum == CommonDocumentBusinessScenario.EnrollConfirmed)
|
||||||
{
|
{
|
||||||
|
@ -757,6 +759,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
|
|
||||||
await SendEmailHelper.SendEmailAsync(sendEmailConfig);
|
await SendEmailHelper.SendEmailAsync(sendEmailConfig);
|
||||||
|
|
||||||
|
return string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
var value = new Dictionary<string, object>()
|
var value = new Dictionary<string, object>()
|
||||||
|
|
Loading…
Reference in New Issue