From 11e3684b0ee6ab47e8e075763d329c4acd620bb8 Mon Sep 17 00:00:00 2001 From: luozukai Date: Mon, 14 Oct 2019 14:10:46 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9][=E6=89=8B=E7=BB=AD?= =?UTF-8?q?=E8=B4=B9][=E5=BC=80=E5=8F=91]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/db/migration/V201910141400__L_COUPON.sql | 3 +++ .../src/main/java/com/iformall/domain/po/WxCoupon.java | 2 ++ mallinkService/src/main/resources/mapper/WxCouponMapper.xml | 6 ++++-- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 mallinkAdmin/src/main/resources/db/migration/V201910141400__L_COUPON.sql diff --git a/mallinkAdmin/src/main/resources/db/migration/V201910141400__L_COUPON.sql b/mallinkAdmin/src/main/resources/db/migration/V201910141400__L_COUPON.sql new file mode 100644 index 000000000..76c44a430 --- /dev/null +++ b/mallinkAdmin/src/main/resources/db/migration/V201910141400__L_COUPON.sql @@ -0,0 +1,3 @@ +alter table wx_coupon +add column `score_price` BIGINT (12) NULL DEFAULT 0 COMMENT '积分售价'; + diff --git a/mallinkService/src/main/java/com/iformall/domain/po/WxCoupon.java b/mallinkService/src/main/java/com/iformall/domain/po/WxCoupon.java index f64828612..a69b6de6f 100644 --- a/mallinkService/src/main/java/com/iformall/domain/po/WxCoupon.java +++ b/mallinkService/src/main/java/com/iformall/domain/po/WxCoupon.java @@ -204,6 +204,8 @@ public class WxCoupon extends BaseEntity { @TableField(exist = false) private Integer pressSuccCount; + @io.swagger.annotations.ApiModelProperty(value = "积分售价", name = "scorePrice") + private Long scorePrice; @io.swagger.annotations.ApiModelProperty(value = "过滤可投放0不过滤 1过滤", name = "filterCanPut") @TableField(exist = false) diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml index 2a192f5f6..0481bd491 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml @@ -44,6 +44,8 @@ + + @@ -89,14 +91,14 @@ - + `id`,`tenant_id`,`type`,`cover_img`,`cover_picture`,`detail_picture`,`title`,`sub_title`,`sale_price`,`use_price`,`use_limit_quantity`,`send_type`, `valid_type`,`valid_start_date`,`valid_end_date`,`valid_days`,`detail`,`price`,`unit`,`remain_inventory`,`inventory`, `remark`,`status`,`create_date`,`update_date`,`business`,`sub_business`,`support_transfer`,`subsidy_num`,`subsidy_type`, - `press_limit_num`, `press_limit_hours`, `auto_refund`,`credit_price`,`credit_refund`,`put_apply_status`,`stock_apply_status`,`cancle_apply_status`,`conditions`,approval_type + `press_limit_num`, `press_limit_hours`, `auto_refund`,`credit_price`,`credit_refund`,`put_apply_status`,`stock_apply_status`,`cancle_apply_status`,`conditions`,approval_type,score_price