From ae99a4a7654a6a3d8fd8343c22c415930f0a18cb Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 09 Feb 2023 11:15:15 +0800 Subject: [PATCH] 后台运费模板功能 --- src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java b/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java index 369b65b..eec9a62 100644 --- a/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java +++ b/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java @@ -26,11 +26,6 @@ private String thumb; - /** - * ALTER TABLE `mall_goods` - * DROP COLUMN `goods_parameter`, - * ADD COLUMN `goods_parameter` text NULL COMMENT '商品参数' AFTER `thumb`; - */ private String goodsParameter; private String goodsDetails; @@ -52,6 +47,11 @@ private Long categoryId; + /** + * 是否热卖 1:是 2:否 + */ + public static final Integer ISHOT_STATE_YES = 1; + public static final Integer ISHOT_STATE_NO = 2; private Integer isHot; /** @@ -115,4 +115,12 @@ private BigDecimal carriage; + private String wxCodeImg; + //运费方式 (1:固定运费 2:运费模板) + private Integer carriageType; + //运费金额 + private BigDecimal carriageAmount; + //运费模板ID + private Long carriageRuleId; + } -- Gitblit v1.9.1