- 新增 DictItem 结构体定义字段 field1 至 field8 - 实现 dict.All 方法用于获取字典数据 - 添加 BD_Currency、BD_SETTLETYPE 和 CN_RECPAYPURPOSE 常量 - 在 client.go 中为 ik3cloud 服务增加本地调试发现逻辑
28 lines
1.0 KiB
Go
28 lines
1.0 KiB
Go
package constant
|
|
|
|
type Action = string // 方法
|
|
|
|
const (
|
|
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" // 客户
|
|
ActionReceivable Action = "AR_receivable" // 付款单
|
|
ActionPayable Action = "AP_Payable" // 付款单
|
|
ActionProduct Action = "BD_MATERIAL" // 物料
|
|
ActionCurrency Action = "BD_Currency" // 币种
|
|
ActionSettleType Action = "BD_SETTLETYPE" // 结算方式
|
|
ActionRecPayPurpose Action = "CN_RECPAYPURPOSE" // 收付款用途
|
|
)
|
|
|
|
type OperatorType = string
|
|
|
|
const (
|
|
OperatorTypeXSY OperatorType = "XSY" // 业务员
|
|
OperatorTypeCGY OperatorType = "CGY" // 采购员
|
|
)
|