parent
be487a346e
commit
56e80d4f1a
|
|
@ -738,8 +738,6 @@ public class QCClaimTaskEventConsumer(
|
||||||
{
|
{
|
||||||
private readonly SystemEmailSendConfig _systemEmailConfig = systemEmailConfig.CurrentValue;
|
private readonly SystemEmailSendConfig _systemEmailConfig = systemEmailConfig.CurrentValue;
|
||||||
public async Task Consume(ConsumeContext<QCClaimTaskEvent> context)
|
public async Task Consume(ConsumeContext<QCClaimTaskEvent> context)
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
Log.Logger.Warning("发送(Code007,008) 【QC 领取了质控任务】邮件!!!" + context.Message.SubjectVisitId.ToString());
|
Log.Logger.Warning("发送(Code007,008) 【QC 领取了质控任务】邮件!!!" + context.Message.SubjectVisitId.ToString());
|
||||||
Log.Logger.Warning("ID:" + context.Message.SubjectVisitId.ToString()+"完成");
|
Log.Logger.Warning("ID:" + context.Message.SubjectVisitId.ToString()+"完成");
|
||||||
|
|
@ -839,13 +837,4 @@ public class QCClaimTaskEventConsumer(
|
||||||
await SendEmailHelper.SendTrialEmailAsync(messageToSend, trialInfo);
|
await SendEmailHelper.SendTrialEmailAsync(messageToSend, trialInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
Console.WriteLine("发送邮件错误");
|
|
||||||
Console.WriteLine(context.Message.ToString());
|
|
||||||
Console.WriteLine(ex.ToString());
|
|
||||||
throw;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -85,11 +85,6 @@ namespace IRaCIS.Core.Application.Service
|
||||||
IMapper _mapper, IUserInfo _userInfo, IStringLocalizer _localizer, IFusionCache _fusionCache) : BaseService, IReadingImageTaskService
|
IMapper _mapper, IUserInfo _userInfo, IStringLocalizer _localizer, IFusionCache _fusionCache) : BaseService, IReadingImageTaskService
|
||||||
{
|
{
|
||||||
|
|
||||||
public async Task Test()
|
|
||||||
{
|
|
||||||
var subjectVisit = await _subjectVisitRepository.Where(x => x.Id == Guid.Parse("01000000-ac12-0242-dcb8-08dec6bda60c")).Include(x => x.Subject).Include(x => x.CurrentActionUser).FirstNotNullAsync();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取报告图表数据
|
/// 获取报告图表数据
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue