refactor(accounting): 重构审核功能的数据结构
- 将审核人员数组替换为审核项目结构体 - 新增 AuditItem 结构体定义审批人ID和审批角色ID - 更新 ArgsAuditSubmit 结构体字段命名和类型 - 添加 bean 包用于存放业务实体结构体 - 移除原有的审核人员ID数组字段 - 统一审核相关数据类型的定义方式
This commit is contained in:
@@ -2,9 +2,10 @@ package workflow
|
||||
|
||||
import (
|
||||
"context"
|
||||
"time"
|
||||
|
||||
"git.kumo.work/shama/service/client"
|
||||
"git.kumo.work/shama/service/lib/bean"
|
||||
"time"
|
||||
)
|
||||
|
||||
type node struct {
|
||||
@@ -48,6 +49,7 @@ type NodeItem struct {
|
||||
Id int64 `json:"id"`
|
||||
WorkflowId int64 `json:"workflowId"`
|
||||
ReviewStaffId int64 `json:"reviewStaffId"`
|
||||
ReviewRoleId int64 `json:"reviewRoleId"`
|
||||
BusinessId int64 `json:"businessId"`
|
||||
BusinessName string `json:"businessName"`
|
||||
BusinessType string `json:"businessType"`
|
||||
|
||||
Reference in New Issue
Block a user