feat(erp): 添加银行员工ID和工作流更新时间字段
- 在请求结构体中新增 BankStaffId 字段用于关联银行处理员工 - 添加 WorkflowUpdatedAt 字段记录工作流状态更新时间 - 为请求变更参数添加 StaffId 字段支持员工操作跟踪 - 更新多个请求相关的数据结构体以保持字段一致性
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user