Skip to content

Conversation

@cbxbj
Copy link

@cbxbj cbxbj commented Feb 3, 2026

新增审批详情缺失的字段

@binarywang binarywang linked an issue Feb 4, 2026 that may be closed by this pull request
@binarywang binarywang requested a review from Copilot February 4, 2026 05:58
@binarywang
Copy link
Owner

auggie review

@augmentcode
Copy link

augmentcode bot commented Feb 4, 2026

🤖 Augment PR Summary

Summary: This PR enhances the 企业微信 OA 审批详情的内容值模型,补齐接口返回中缺失的字段。

Changes:

  • ContentValue 中新增 bank_account 字段,并补充对应的 BankAccount/Bank 数据结构。
  • 在日期类 ContentValue.Date 中新增 timezone_info 字段及其 TimezoneInfo 结构。
  • 在考勤/日期区间 Attendance.DataRange 中补充 timezone_info 字段以承载时区信息。

Technical Notes: 新增字段均通过 @SerializedName 映射 JSON key,保持与现有 Gson 反序列化模型一致。

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

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

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

此 PR 为企业微信审批详情的 ContentValue 数据模型添加了缺失的字段。这些字段包括银行账户信息和时区信息,用于支持更完整的审批数据反序列化。

Changes:

  • 新增 BankAccount 静态内部类及其嵌套的 Bank 类,用于表示银行账户控件的数据
  • 新增 TimezoneInfo 静态内部类,用于表示时区信息
  • Date 类中添加 timezoneInfo 字段
  • DataRange 类中添加 timezoneInfo 字段
  • ContentValue 类中添加 bankAccount 字段

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.

审批详情的对象缺少字段

2 participants