feat(ik3cloud): 新增员工职位和业务员类型功能

- 在 constant.go 中新增员工职位和业务员类型常量定义
- 在 ik3cloud.go 中新增 Position 字段以支持职位相关操作
- 在 staff.go 中实现员工职位和业务员类型的查询方法
- 新增 position.go 文件,实现职位的保存和删除功能
This commit is contained in:
2025-12-04 14:17:07 +08:00
parent 908fa48a84
commit 8de8393c07
4 changed files with 90 additions and 7 deletions

View File

@@ -3,11 +3,21 @@ package constant
type Action = string // 方法
const (
ActionDepartment Action = "BD_Department" // 部门
ActionStaff Action = "BD_Empinfo" // 员工
ActionFactory Action = "BD_Supplier" // 工厂
ActionContact Action = "BD_CommonContact" // 联系人
ActionCustom Action = "BD_Customer" // 客户
ActionPayment Action = "AR_receivable" // 付款单
ActionProduct Action = "BD_MATERIAL" // 物料
ActionDepartment Action = "BD_Department" // 部门
ActionStaff Action = "BD_Empinfo" // 员工
ActionStaffPosition Action = "BD_NEWSTAFF" // 职位
ActionOperatorType Action = "BD_OPERATOR" // 业务员类型
ActionPosition Action = "HR_ORG_HRPOST" // 职位
ActionFactory Action = "BD_Supplier" // 工厂
ActionContact Action = "BD_CommonContact" // 联系人
ActionCustom Action = "BD_Customer" // 客户
ActionPayment Action = "AR_receivable" // 付款单
ActionProduct Action = "BD_MATERIAL" // 物料
)
type OperatorType = string
const (
OperatorTypeXSY OperatorType = "XSY" // 业务员
OperatorTypeCGY OperatorType = "CGY" // 采购员
)