Skip to content

bugfix: Corehr流程表单数据获取反序列化封装字段类型修正#98

Open
xiaodpro wants to merge 1 commit intochyroc:masterfrom
xiaodpro:bugfix/corehr_process_formvar_unmarshal
Open

bugfix: Corehr流程表单数据获取反序列化封装字段类型修正#98
xiaodpro wants to merge 1 commit intochyroc:masterfrom
xiaodpro:bugfix/corehr_process_formvar_unmarshal

Conversation

@xiaodpro
Copy link
Contributor

@xiaodpro xiaodpro commented Sep 5, 2024

No description provided.

ObjectValue *GetCoreHRProcessFormVariableDataRespFieldVariableValueSubValueValueObjectValue `json:"object_value,omitempty"` // 对象值, 包括对象 id 和对象类型
UserValue *string `json:"user_value,omitempty"` // 用户 id, 根据 user_type 选择对应的用户 id
DepartmentValue *string `json:"department_value,omitempty"` // 部门 id, 根据入参选择对应的部门 id
RecordValues []*GetCoreHRProcessFormVariableDataRespFieldVariableValueSubValueValueRecordValues `json:"record_values,omitempty"` // 记录类型字段值
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
RecordValues []*GetCoreHRProcessFormVariableDataRespFieldVariableValueSubValueValueRecordValues `json:"record_values,omitempty"` // 记录类型字段值
RecordValues []*GetCoreHRProcessFormVariableDataRespFieldVariableValueSubValueValueRecordValue `json:"record_values,omitempty"` // 记录类型字段值

// GetCoreHRProcessFormVariableDataRespFieldVariableValueSubValueValueRecordValue ...
type GetCoreHRProcessFormVariableDataRespFieldVariableValueSubValueValueRecordValue struct {
// GetCoreHRProcessFormVariableDataRespFieldVariableValueSubValueValueRecordValues ...
type GetCoreHRProcessFormVariableDataRespFieldVariableValueSubValueValueRecordValues struct {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
type GetCoreHRProcessFormVariableDataRespFieldVariableValueSubValueValueRecordValues struct {
type GetCoreHRProcessFormVariableDataRespFieldVariableValueSubValueValueRecordValue struct {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants