Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class MainProductInfo implements Serializable {
* 商品id
*/
@JsonProperty("product_id")
private Integer productId;
private String productId;
Comment on lines 33 to +34
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

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

这里将 productIdInteger 改为 String 会改变 Lombok 生成的 getter/setter 签名,属于对外 API 的破坏性变更(下游若调用 getProductId()/setProductId(Integer) 将无法编译)。如果这是必要的类型修正,建议同时提供一个过渡方案(例如新增/保留一个标记为 @Deprecated 的整数访问方式,如 getProductIdAsInteger()/setProductId(Integer),内部与 String 字段互转),以降低升级成本。

Copilot uses AI. Check for mistakes.

/**
* 主品sku_id
Expand Down