修改邮件发送多次bug
This commit is contained in:
@@ -180,7 +180,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
|
||||
var isNeedSend = true;
|
||||
|
||||
if (pdAnswer == "是")
|
||||
if (pdAnswer == "是" && isMedicalReviewAndSuggestApplyReReading==null)
|
||||
{
|
||||
isNeedSend = true;
|
||||
|
||||
@@ -458,6 +458,8 @@ namespace IRaCIS.Core.Application.Service
|
||||
var isNeedSend = true;
|
||||
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)
|
||||
{
|
||||
@@ -757,6 +759,8 @@ namespace IRaCIS.Core.Application.Service
|
||||
|
||||
|
||||
await SendEmailHelper.SendEmailAsync(sendEmailConfig);
|
||||
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
var value = new Dictionary<string, object>()
|
||||
|
||||
Reference in New Issue
Block a user