瀏覽代碼

[投放频道][修改][查询]

release_toaliyun_real
gongbiao 7 年之前
父節點
當前提交
89997f178a
共有 2 個檔案被更改,包括 25 行新增2 行删除
  1. +22
    -0
      mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java
  2. +3
    -2
      mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml

+ 22
- 0
mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java 查看文件

@@ -70,6 +70,10 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable {
@io.swagger.annotations.ApiModelProperty(value = "是否可转赠", name = "supportTransfer") @io.swagger.annotations.ApiModelProperty(value = "是否可转赠", name = "supportTransfer")
private Integer supportTransfer; private Integer supportTransfer;


@io.swagger.annotations.ApiModelProperty(value = "砍价/拼团人数", name = "pressLimitNum")
private Integer pressLimitNum;


public Integer getGameWeight() { public Integer getGameWeight() {
return gameWeight; return gameWeight;
} }
@@ -206,4 +210,22 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable {
public void setSupportTransfer(Integer supportTransfer) { public void setSupportTransfer(Integer supportTransfer) {
this.supportTransfer = supportTransfer; this.supportTransfer = supportTransfer;
} }

@Override
public String getTitle() {
return title;
}

@Override
public void setTitle(String title) {
this.title = title;
}

public Integer getPressLimitNum() {
return pressLimitNum;
}

public void setPressLimitNum(Integer pressLimitNum) {
this.pressLimitNum = pressLimitNum;
}
} }

+ 3
- 2
mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml 查看文件

@@ -112,7 +112,8 @@


<sql id="CouponChannelVoColumns"> <sql id="CouponChannelVoColumns">
<include refid="allColumns" />, <include refid="allColumns" />,
c.remain_inventory,c.inventory,c.cover_img,c.title,c.sub_title,c.sale_price,c.use_price,c.price,c.unit,c.use_limit_quantity,c.send_type,c.support_transfer
c.remain_inventory,c.inventory,c.cover_img,c.title,c.sub_title,c.sale_price,
c.use_price,c.price,c.unit,c.use_limit_quantity,c.send_type,c.support_transfer,c.press_limit_num
</sql> </sql>


<resultMap id="CouponChannelVoMap" type="com.iformall.domain.vo.WxCouponChannelVo"> <resultMap id="CouponChannelVoMap" type="com.iformall.domain.vo.WxCouponChannelVo">
@@ -139,7 +140,7 @@
<result column="use_limit_quantity" jdbcType="INTEGER" property="useLimitQuantity"/> <result column="use_limit_quantity" jdbcType="INTEGER" property="useLimitQuantity"/>
<result column="send_type" jdbcType="INTEGER" property="sendType"/> <result column="send_type" jdbcType="INTEGER" property="sendType"/>
<result column="support_transfer" jdbcType="INTEGER" property="supportTransfer"/> <result column="support_transfer" jdbcType="INTEGER" property="supportTransfer"/>
<result column="press_limit_num" jdbcType="INTEGER" property="pressLimitNum"/>
<collection column="{productId=coupon_id}" property="merchantVoList" <collection column="{productId=coupon_id}" property="merchantVoList"
ofType="com.iformall.domain.vo.WxMerchantVo" ofType="com.iformall.domain.vo.WxMerchantVo"


Loading…
取消
儲存