feat(k3cloud): 添加动作编号字段映射常量
- 为部门、员工、岗位等实体添加 FNumber 字段映射 - 为应收、应付单据添加 FBillNo 字段映射 - 扩展 ActionNumberField 映射表以支持更多业务实体 - 统一编号字段访问逻辑,提升代码可维护性
This commit is contained in:
@@ -41,6 +41,25 @@ var ActionIdField = map[Action]string{
|
||||
ActionPayment: "FID",
|
||||
ActionInformation: "FEntryID",
|
||||
}
|
||||
var ActionNumberField = map[Action]string{
|
||||
ActionDepartment: "FNumber",
|
||||
ActionStaff: "FNumber",
|
||||
ActionStaffPosition: "FNumber",
|
||||
ActionOperatorType: "FNumber",
|
||||
ActionPosition: "FNumber",
|
||||
ActionFactory: "FNumber",
|
||||
ActionContact: "FNumber",
|
||||
ActionCustom: "FNumber",
|
||||
ActionReceivable: "FBillNo",
|
||||
ActionPayable: "FBillNo",
|
||||
ActionProduct: "FNumber",
|
||||
ActionCurrency: "FNumber",
|
||||
ActionSettleType: "FNumber",
|
||||
ActionRecPayPurpose: "FNumber",
|
||||
ActionExpense: "FNumber",
|
||||
ActionPayment: "FBillNo",
|
||||
ActionInformation: "FNumber",
|
||||
}
|
||||
|
||||
type OperatorType = string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user