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

[积分][新增]:投放列表添加积分售价返回

release_toaliyun_real
hanxueda 7 лет назад
Родитель
Сommit
d6ae743919
2 измененных файлов: 15 добавлений и 2 удалений
  1. +14
    -1
      mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml

+ 14
- 1
mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java Просмотреть файл

@@ -118,6 +118,11 @@ public class WxCouponChannel implements Serializable {
@io.swagger.annotations.ApiModelProperty(value = "小程序二维码scene", name = "weaAppScene")
private String weaAppScene;

/**积分售价(适用于类型10,11)**/
@Transient
@io.swagger.annotations.ApiModelProperty(value="积分售价(适用于类型10,11)",name="creditPrice")
private Integer creditPrice;


public String getTenantId() {
return tenantId;
@@ -227,7 +232,15 @@ public class WxCouponChannel implements Serializable {
this.supportTransfer = supportTransfer;
}

public String getWeaAppPath() {
public Integer getCreditPrice() {
return creditPrice;
}

public void setCreditPrice(Integer creditPrice) {
this.creditPrice = creditPrice;
}

public String getWeaAppPath() {
if(type == null)
return "pages/index/index";
if(!type.equals(EnumCouponType.COUPON_GROUP.getCode())) {


+ 1
- 1
mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml Просмотреть файл

@@ -120,7 +120,7 @@
<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.press_limit_num,c.auto_refund,
c.valid_type,c.valid_start_date,c.valid_end_date,c.valid_days
c.valid_type,c.valid_start_date,c.valid_end_date,c.valid_days,c.credit_price
</sql>

<resultMap id="CouponChannelVoMap" type="com.iformall.domain.vo.WxCouponChannelVo">


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