feat(oa): 添加单证员字段支持
- 在DepartmentItem结构体中新增VouchingClerkId字段 - 在ArgsDepartmentAdd参数结构体中新增VouchingClerkId字段 - 更新部门数据结构以支持单证员信息存储 - 为部门管理功能增加单证员关联能力
This commit is contained in:
@@ -15,6 +15,7 @@ type DepartmentItem struct {
|
|||||||
Code string `json:"code"`
|
Code string `json:"code"`
|
||||||
ParentId int64 `json:"parentId"`
|
ParentId int64 `json:"parentId"`
|
||||||
ManageStaffId int64 `json:"manageStaffId"`
|
ManageStaffId int64 `json:"manageStaffId"`
|
||||||
|
VouchingClerkId int64 `json:"vouchingClerkId"`
|
||||||
CreatedAt time.Time `json:"createdAt"`
|
CreatedAt time.Time `json:"createdAt"`
|
||||||
Children []*DepartmentItem `json:"children"`
|
Children []*DepartmentItem `json:"children"`
|
||||||
}
|
}
|
||||||
@@ -34,6 +35,7 @@ type ArgsDepartmentAdd struct {
|
|||||||
Code string // 部门编号
|
Code string // 部门编号
|
||||||
ParentId int64 // 上级部门id
|
ParentId int64 // 上级部门id
|
||||||
ManageStaffId int64 // 部门负责人
|
ManageStaffId int64 // 部门负责人
|
||||||
|
VouchingClerkId int64 // 单证员id
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add @TITLE 添加部门
|
// Add @TITLE 添加部门
|
||||||
|
|||||||
Reference in New Issue
Block a user