refactor(accounting): 重构审核功能的数据结构

- 将审核人员数组替换为审核项目结构体
- 新增 AuditItem 结构体定义审批人ID和审批角色ID
- 更新 ArgsAuditSubmit 结构体字段命名和类型
- 添加 bean 包用于存放业务实体结构体
- 移除原有的审核人员ID数组字段
- 统一审核相关数据类型的定义方式
This commit is contained in:
2026-06-08 17:32:32 +08:00
parent 68184b3e5e
commit 46513b95ae
11 changed files with 55 additions and 32 deletions

View File

@@ -4,14 +4,15 @@ import (
"context"
"git.kumo.work/shama/service/client"
"git.kumo.work/shama/service/erp/bean"
)
type audit struct {
}
type ArgsAuditSubmit struct {
StaffId int64 // 操作人
RequestId int64 // 申请单id
AuditStaffIds []int64 // 审核
StaffId int64 // 操作人
RequestId int64 // 申请单id
AuditItems []bean.AuditItem // 审核
}
// Submit @TITLE 提交审核