修改增加TrialId
continuous-integration/drone/push Build is running

This commit is contained in:
2025-05-06 16:33:41 +08:00
parent 29c3888108
commit 03ac25835e
2 changed files with 5 additions and 2 deletions
@@ -453,13 +453,13 @@ public static class DBContext_Ext
if (spmApproveEnrollIdList.Count > 0)
{
lastEnroll.AddDomainEvent(new ReviewerSPMApprovedEvent() { EnrollIdList = spmApproveEnrollIdList });
lastEnroll.AddDomainEvent(new ReviewerSPMApprovedEvent() { TrialId= lastEnroll.TrialId, EnrollIdList = spmApproveEnrollIdList });
eventStoreList.AddRange(GetStoreEvents(lastEnroll.DomainEvents));
}
if (pmApplyEnrollIdList.Count > 0)
{
lastEnroll.AddDomainEvent(new ReviewerPMApplyEvent() { EnrollIdList = spmApproveEnrollIdList });
lastEnroll.AddDomainEvent(new ReviewerPMApplyEvent() { TrialId = lastEnroll.TrialId, EnrollIdList = spmApproveEnrollIdList });
eventStoreList.AddRange(GetStoreEvents(lastEnroll.DomainEvents));
}