Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -6,9 +6,9 @@ CREATE TABLE mall_product
|
||||
main_img VARCHAR(255) DEFAULT '' NOT NULL, --缩略图
|
||||
detail_img text[] NULL, --详情图
|
||||
top_img text[] NULL, -- 详情页顶图
|
||||
attribute text DEFAULT '' NOT NULL,
|
||||
attribute text[] DEFAULT '' NOT NULL,
|
||||
unit VARCHAR(12),
|
||||
category_id VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
category_id int8 DEFAULT '' NOT NULL,
|
||||
category_ids VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
cost_price DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
|
||||
original_price DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
|
||||
|
||||
@@ -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分类
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user