From 34a9bcdd3714f5998a49879c632c8b456c48841b Mon Sep 17 00:00:00 2001 From: kanade Date: Thu, 4 Dec 2025 15:10:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(oa):=20=E4=BF=AE=E6=94=B9=E9=87=91=E8=9D=B6?= =?UTF-8?q?=E9=83=A8=E9=97=A8=E8=81=8C=E4=BD=8DID=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 PositionID 字段重命名为 PositionId 以符合JSON命名规范 - 更新相关结构体标签以确保正确的序列化和反序列化 - 保持与其他金蝶系统集成的一致性 --- oa/department.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oa/department.go b/oa/department.go index fb173f8..a5ba02d 100644 --- a/oa/department.go +++ b/oa/department.go @@ -99,7 +99,7 @@ func (d *department) SetStaff(ctx context.Context, args ArgsDepartmentSetStaff) type ReplyDepartmentIk3cloudInfo struct { Id int64 `json:"id"` // 金蝶员工id Number string `json:"number"` // 金蝶员工编码 - PositionID int64 `json:"positionID"` // 金蝶部门职位id + PositionId int64 `json:"positionId"` // 金蝶部门职位id PositionNumber string `json:"positionNumber"` // 金蝶部门职位编码 }