diff --git a/erp/request.go b/erp/request.go index 7fe7d9f..7487d80 100644 --- a/erp/request.go +++ b/erp/request.go @@ -63,6 +63,7 @@ type RequestItem struct { Remarks string `json:"remarks"` BankAccount string `json:"bankAccount"` BankName string `json:"bankName"` + BankStaffId *int64 `json:"bankStaffId"` PayAt *time.Time `json:"payAt"` PrepaidAmount decimal.Decimal `json:"prepaidAmount"` Amount decimal.Decimal `json:"amount"` @@ -71,6 +72,7 @@ type RequestItem struct { WorkflowId int64 `json:"workflowId"` WorkflowStatus int64 `json:"workflowStatus"` WorkflowReason string `json:"workflowReason"` + WorkflowUpdatedAt *time.Time `json:"workflowUpdatedAt"` CreatedStaffId int64 `json:"createdStaffId"` Ik3cloudStatus int64 `json:"ik3CloudStatus"` Ik3cloudErrMsg string `json:"ik3CloudErrMsg"` @@ -154,10 +156,12 @@ type ReplyRequestInfo struct { Remarks string `json:"remarks"` BankAccount string `json:"bankAccount"` BankName string `json:"bankName"` + BankStaffId *int64 `json:"bankStaffId"` PayAt *time.Time `json:"payAt"` WorkflowId int64 `json:"workflowId"` WorkflowStatus int64 `json:"workflowStatus"` WorkflowReason string `json:"workflowReason"` + WorkflowUpdatedAt *time.Time `json:"workflowUpdatedAt"` CreatedStaffId int64 `json:"createdStaffId"` BanFlag int64 `json:"banFlag"` Ik3cloudStatus int64 `json:"ik3CloudStatus"` @@ -193,6 +197,7 @@ func (r *request) Edit(ctx context.Context, args ArgsRequestEdit) (err error) { } type ArgsRequestChange struct { + StaffId int64 // 员工id RequestIds []int64 RequestChangeItem }