修改规格属性是int8

This commit is contained in:
2026-02-05 19:10:11 +08:00
parent 7cb90dfee8
commit 468d48609f
2 changed files with 5 additions and 4 deletions

View File

@@ -81,8 +81,9 @@ public class MallProductEntity extends BaseEntity {
/**
* 规格详情
*/
@TableField(typeHandler = TextArrayTypeHandler.class)
@Schema(description = "规格详情")
private String attribute;
private List<String> attribute;
/**
* 单位
*/
@@ -92,7 +93,7 @@ public class MallProductEntity extends BaseEntity {
* cate_id分类
*/
@Schema(description = "cate_id分类")
private String categoryId;
private Long categoryId;
/**
* cate_id分类
*/