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

@@ -2,9 +2,10 @@ package oa
import (
"context"
"time"
"git.kumo.work/shama/service/client"
"git.kumo.work/shama/service/lib/bean"
"time"
)
type role struct {
@@ -97,6 +98,7 @@ func (r *role) SetStaff(ctx context.Context, args ArgsRoleSetStaff) (err error)
type ArgsRoleStaffs struct {
Name string // 角色名称
Id int64 // 角色id
}
// Staffs @TITLE 角色员工