From dfc793a67df45a56799e33f74bb758b1b4da47fa Mon Sep 17 00:00:00 2001 From: gongbiao Date: Tue, 5 Mar 2019 14:00:01 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=8B=BC=E5=9B=A2][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=97=AE=E9=A2=98]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iformall/domain/vo/WxCouponCVo.java | 13 +++++++++++++ .../main/resources/mapper/WxCouponChannelMapper.xml | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponCVo.java b/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponCVo.java index 97e018038..86bc1c5b2 100644 --- a/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponCVo.java +++ b/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponCVo.java @@ -57,6 +57,9 @@ public class WxCouponCVo extends WxCoupon implements Serializable { @io.swagger.annotations.ApiModelProperty(value = "是否支持转送(0:不支持,1支持)", name = "supportTransfer") private Integer supportTransfer; + @io.swagger.annotations.ApiModelProperty(value = "限制人数", name = "pressLimitNum") + private Integer pressLimitNum; + public Long getCouponId() { return couponId; } @@ -136,4 +139,14 @@ public class WxCouponCVo extends WxCoupon implements Serializable { public void setSupportTransfer(Integer supportTransfer) { this.supportTransfer = supportTransfer; } + + @Override + public Integer getPressLimitNum() { + return pressLimitNum; + } + + @Override + public void setPressLimitNum(Integer pressLimitNum) { + this.pressLimitNum = pressLimitNum; + } } diff --git a/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml index e9f45eff5..0eba24596 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml @@ -161,7 +161,7 @@ c.tenant_id,c.type,c.cover_img,c.title,c.sub_title,c.sale_price,c.use_price, c.use_limit_quantity,c.send_type,c.valid_type,c.valid_start_date,c.valid_end_date, c.valid_days,c.detail,c.price,c.unit,c.remain_inventory,c.inventory,c.remark,c.status, - c.create_date,c.update_date,c.business,c.support_transfer + c.create_date,c.update_date,c.business,c.support_transfer,c.press_limit_num @@ -195,7 +195,7 @@ - +