add approver
This commit is contained in:
parent
e58472c963
commit
95b8d32041
@ -821,6 +821,7 @@ func (p *LetterOutgoingProcessorImpl) ProcessRevision(ctx context.Context, lette
|
|||||||
ParallelGroup: approval.ParallelGroup,
|
ParallelGroup: approval.ParallelGroup,
|
||||||
IsRequired: approval.IsRequired,
|
IsRequired: approval.IsRequired,
|
||||||
Status: entities.ApprovalStatusPending,
|
Status: entities.ApprovalStatusPending,
|
||||||
|
ApproverID: approval.ApproverID,
|
||||||
}
|
}
|
||||||
if err := p.approvalRepo.Create(txCtx, &newApproval); err != nil {
|
if err := p.approvalRepo.Create(txCtx, &newApproval); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user