feat(expense): 添加报销单支付时间和员工ID字段支持
- 在报销单结构体中新增PayAt支付时间字段 - 在报销单变更参数中新增StaffId员工ID字段 - 更新数据结构以支持更完整的报销流程信息
This commit is contained in:
@@ -50,6 +50,7 @@ type ExpenseItem struct {
|
|||||||
Remarks string `json:"remarks"`
|
Remarks string `json:"remarks"`
|
||||||
BankAccount string `json:"bankAccount"`
|
BankAccount string `json:"bankAccount"`
|
||||||
BankName string `json:"bankName"`
|
BankName string `json:"bankName"`
|
||||||
|
PayAt *time.Time `json:"payAt"`
|
||||||
Amount decimal.Decimal `json:"amount"`
|
Amount decimal.Decimal `json:"amount"`
|
||||||
WorkflowId int64 `json:"workflowId"`
|
WorkflowId int64 `json:"workflowId"`
|
||||||
WorkflowStatus int64 `json:"workflowStatus"`
|
WorkflowStatus int64 `json:"workflowStatus"`
|
||||||
@@ -150,6 +151,7 @@ func (r *expense) Edit(ctx context.Context, args ArgsExpenseEdit) (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ArgsExpenseChange struct {
|
type ArgsExpenseChange struct {
|
||||||
|
StaffId int64 // 员工id
|
||||||
ExpenseIds []int64 // 报销单id
|
ExpenseIds []int64 // 报销单id
|
||||||
ExpenseChangeItem
|
ExpenseChangeItem
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user