Просмотр исходного кода

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

release_toaliyun_real
gongbiao 7 лет назад
Родитель
Сommit
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")
private Integer supportTransfer;

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


public Integer getGameWeight() {
return gameWeight;
}
@@ -206,4 +210,22 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable {
public void setSupportTransfer(Integer 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">
<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>

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


Загрузка…
Отмена
Сохранить