Compare commits

...

2 Commits

Author SHA1 Message Date
a165b59d61 feat(oa): 移除员工销售员和采购员编码字段
- 删除 XsyNumber 字段(金蝶员工销售员编码)
- 删除 CgyNumber 字段(金蝶员工采购员编码)
- 简化 Staff 结构体定义,仅保留必要字段
- 更新相关 JSON 标签以保持数据一致性
2025-12-18 14:32:12 +08:00
75e66aab81 chore: 更新部门和员工模块
- 修改了部门模块的代码结构
- 调整了员工模块的相关配置
- 优化了两个模块间的依赖关系
2025-12-18 14:31:55 +08:00
2 changed files with 2 additions and 4 deletions

View File

@@ -46,11 +46,11 @@ func (d *department) Save(ctx context.Context, args ArgsDepartmentSave) (entity
} }
// Delete @TITLE 删除部门 // Delete @TITLE 删除部门
func (d *department) Delete(ctx context.Context, numbers []string) (err error) { func (d *department) Delete(ctx context.Context, args Unique) (err error) {
xClient, err := client.GetClient(d) xClient, err := client.GetClient(d)
if err != nil { if err != nil {
return return
} }
var reply int var reply int
return xClient.Call(ctx, "Delete", numbers, &reply) return xClient.Call(ctx, "Delete", args, &reply)
} }

View File

@@ -272,9 +272,7 @@ type ReplyStaffIk3cloudInfo struct {
PositionId int64 `json:"positionId"` // 金蝶部门职位id PositionId int64 `json:"positionId"` // 金蝶部门职位id
PositionNumber string `json:"positionNumber"` // 金蝶部门职位编码 PositionNumber string `json:"positionNumber"` // 金蝶部门职位编码
XsyId int64 `json:"xsyId"` // 金蝶员工销售员id XsyId int64 `json:"xsyId"` // 金蝶员工销售员id
XsyNumber string `json:"xsyNumber"` // 金蝶员工销售员编码
CgyId int64 `json:"cgyId"` // 金蝶员工采购员id CgyId int64 `json:"cgyId"` // 金蝶员工采购员id
CgyNumber string `json:"cgyNumber"` // 金蝶员工采购员编码
Department ReplyDepartmentIk3cloudInfo `json:"department"` Department ReplyDepartmentIk3cloudInfo `json:"department"`
} }