Compare commits
No commits in common. "1cdfc5f2b5ca2cb31aba2239a860aa0444dbe28a" and "a0294e6bd6f8321dfd38719311a14d7a9800a165" have entirely different histories.
1cdfc5f2b5
...
a0294e6bd6
|
@ -21,8 +21,6 @@ namespace IRaCIS.Core.Application.MassTransit.Consumer.Dto
|
||||||
|
|
||||||
public RequestBackStateEnum RequestBackStateEnum { get; set; } = RequestBackStateEnum.NotRequest;
|
public RequestBackStateEnum RequestBackStateEnum { get; set; } = RequestBackStateEnum.NotRequest;
|
||||||
|
|
||||||
public ReReadingApplyState ReReadingApplyState { get; set; } = ReReadingApplyState.Default;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -248,8 +248,7 @@ public class ImageConsumer(
|
||||||
EmailNoticeConfig = emailConfig,
|
EmailNoticeConfig = emailConfig,
|
||||||
Scenario = scenario,
|
Scenario = scenario,
|
||||||
SubjectVisit = subjectVisit,
|
SubjectVisit = subjectVisit,
|
||||||
TrialId = trialId,
|
TrialId = trialId
|
||||||
ReReadingApplyState= context.Message.ReReadingApplyState,
|
|
||||||
};
|
};
|
||||||
await SendImageReuploadEmail(inDto);
|
await SendImageReuploadEmail(inDto);
|
||||||
}
|
}
|
||||||
|
@ -328,18 +327,16 @@ public class ImageConsumer(
|
||||||
List<DictionaryDto> dictionaryDtos = new List<DictionaryDto>() {
|
List<DictionaryDto> dictionaryDtos = new List<DictionaryDto>() {
|
||||||
new DictionaryDto (){DictionaryCode= "YesOrNo",EnumValue=inDto.SubjectVisit.IsUrgent.ToString().ToLower(), }, //是否加急
|
new DictionaryDto (){DictionaryCode= "YesOrNo",EnumValue=inDto.SubjectVisit.IsUrgent.ToString().ToLower(), }, //是否加急
|
||||||
};
|
};
|
||||||
switch (inDto.Scenario)
|
if (inDto.Scenario == EmailBusinessScenario.DataReconciliation_PMApprovalRe_Uploading)
|
||||||
{
|
{
|
||||||
case EmailBusinessScenario.Re_ReadApproval_SPMCPMApprovalRe_Reading:
|
dictionaryDtos.Add(new DictionaryDto() { DictionaryCode = "RequestBackState", EnumValue = inDto.RequestBackStateEnum.GetEnumInt(), });
|
||||||
dictionaryDtos.Add(new DictionaryDto() { DictionaryCode = "ReReadingApplyState", EnumValue = inDto.ReReadingApplyState.GetEnumInt(), });
|
|
||||||
break;
|
|
||||||
case EmailBusinessScenario.DataReconciliation_PMApprovalRe_Uploading:
|
|
||||||
dictionaryDtos.Add(new DictionaryDto() { DictionaryCode = "RequestBackState", EnumValue = inDto.RequestBackStateEnum.GetEnumInt(), });
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
dictionaryDtos.Add(new DictionaryDto() { DictionaryCode = "ImageBackStateEnum", EnumValue = inDto.ImageBackStateEnum.GetEnumInt(), });//审批结果
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dictionaryDtos.Add(new DictionaryDto() { DictionaryCode = "ImageBackStateEnum", EnumValue = inDto.ImageBackStateEnum.GetEnumInt(), });//审批结果
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
var dictionValue = await CommonEmailHelper.TranslationDictionary(new TranslationDictionaryDto()
|
var dictionValue = await CommonEmailHelper.TranslationDictionary(new TranslationDictionaryDto()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue