- 在 constant.go 中新增员工职位和业务员类型常量定义 - 在 ik3cloud.go 中新增 Position 字段以支持职位相关操作 - 在 staff.go 中实现员工职位和业务员类型的查询方法 - 新增 position.go 文件,实现职位的保存和删除功能
23 lines
498 B
Go
23 lines
498 B
Go
package ik3cloud
|
|
|
|
type Ik3cloud struct {
|
|
Department department // 部门
|
|
Staff staff // 员工
|
|
Position position // 职位
|
|
Contact contact // 联系人
|
|
Factory factory // 工厂
|
|
Custom custom // 客户
|
|
Payment payment // 付款
|
|
Product product // 产品
|
|
}
|
|
type Entity struct {
|
|
Id int64 `json:"Id"`
|
|
Number string `json:"Number"`
|
|
DIndex int `json:"DIndex"`
|
|
}
|
|
|
|
type Unique struct {
|
|
Numbers []string // 编码
|
|
Ids []int64 // id
|
|
}
|