update
This commit is contained in:
parent
17c4092a83
commit
ade75df6b3
@ -55,6 +55,7 @@ type CreateOutgoingLetterRequest struct {
|
|||||||
IssueDate time.Time `json:"issue_date" validate:"required"`
|
IssueDate time.Time `json:"issue_date" validate:"required"`
|
||||||
Attachments []CreateOutgoingLetterAttachment `json:"attachments,omitempty"`
|
Attachments []CreateOutgoingLetterAttachment `json:"attachments,omitempty"`
|
||||||
UserID uuid.UUID
|
UserID uuid.UUID
|
||||||
|
ApprovalFlowID *uuid.UUID `json:"approval_flow_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type OutgoingLetterRecipientResponse struct {
|
type OutgoingLetterRecipientResponse struct {
|
||||||
|
|||||||
@ -103,6 +103,7 @@ func (s *LetterOutgoingServiceImpl) CreateOutgoingLetter(ctx context.Context, re
|
|||||||
ReceiverName: req.ReceiverName,
|
ReceiverName: req.ReceiverName,
|
||||||
IssueDate: req.IssueDate,
|
IssueDate: req.IssueDate,
|
||||||
CreatedBy: userID,
|
CreatedBy: userID,
|
||||||
|
ApprovalFlowID: req.ApprovalFlowID,
|
||||||
}
|
}
|
||||||
|
|
||||||
if req.ReferenceNumber != nil {
|
if req.ReferenceNumber != nil {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user