feat(oa): 添加员工金蝶信息中的部门字段

- 在ReplyStaffIk3cloudInfo结构体中新增Department字段
- 引入oa包以支持部门信息的嵌套结构
- 保持原有金蝶员工相关字段不变,扩展数据结构兼容性
This commit is contained in:
2025-12-04 15:54:25 +08:00
parent 34a9bcdd37
commit 1975cccdb1

View File

@@ -6,6 +6,7 @@ import (
"git.kumo.work/shama/service/client"
"git.kumo.work/shama/service/lib/bean"
"git.kumo.work/shama/service/oa"
)
type staff struct {
@@ -275,6 +276,7 @@ type ReplyStaffIk3cloudInfo struct {
XsyNumber string `json:"xsyNumber"` // 金蝶员工销售员编码
CgyId int64 `json:"cgyId"` // 金蝶员工采购员id
CgyNumber string `json:"cgyNumber"` // 金蝶员工采购员编码
Department ReplyDepartmentIk3cloudInfo `json:"department"`
}
// Ik3cloudInfo @TITLE 金蝶同步信息