Compare commits
2 Commits
ec74ebbca5
...
a165b59d61
| Author | SHA1 | Date | |
|---|---|---|---|
| a165b59d61 | |||
| 75e66aab81 |
@@ -46,11 +46,11 @@ func (d *department) Save(ctx context.Context, args ArgsDepartmentSave) (entity
|
||||
}
|
||||
|
||||
// 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)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
var reply int
|
||||
return xClient.Call(ctx, "Delete", numbers, &reply)
|
||||
return xClient.Call(ctx, "Delete", args, &reply)
|
||||
}
|
||||
|
||||
@@ -272,9 +272,7 @@ type ReplyStaffIk3cloudInfo struct {
|
||||
PositionId int64 `json:"positionId"` // 金蝶部门职位id
|
||||
PositionNumber string `json:"positionNumber"` // 金蝶部门职位编码
|
||||
XsyId int64 `json:"xsyId"` // 金蝶员工销售员id
|
||||
XsyNumber string `json:"xsyNumber"` // 金蝶员工销售员编码
|
||||
CgyId int64 `json:"cgyId"` // 金蝶员工采购员id
|
||||
CgyNumber string `json:"cgyNumber"` // 金蝶员工采购员编码
|
||||
Department ReplyDepartmentIk3cloudInfo `json:"department"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user