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

[拼团][修改][查询问题]

release_toaliyun_real
gongbiao 7 лет назад
committed by Stormeye Wu
Родитель
Сommit
dfc793a67d
2 измененных файлов: 15 добавлений и 2 удалений
  1. +13
    -0
      mallinkService/src/main/java/com/iformall/domain/vo/WxCouponCVo.java
  2. +2
    -2
      mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml

+ 13
- 0
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") @io.swagger.annotations.ApiModelProperty(value = "是否支持转送(0:不支持,1支持)", name = "supportTransfer")
private Integer supportTransfer; private Integer supportTransfer;


@io.swagger.annotations.ApiModelProperty(value = "限制人数", name = "pressLimitNum")
private Integer pressLimitNum;

public Long getCouponId() { public Long getCouponId() {
return couponId; return couponId;
} }
@@ -136,4 +139,14 @@ public class WxCouponCVo extends WxCoupon implements Serializable {
public void setSupportTransfer(Integer supportTransfer) { public void setSupportTransfer(Integer supportTransfer) {
this.supportTransfer = supportTransfer; this.supportTransfer = supportTransfer;
} }

@Override
public Integer getPressLimitNum() {
return pressLimitNum;
}

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

+ 2
- 2
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.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.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.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
</sql> </sql>


<resultMap id="WxCouponCVoMap" type="com.iformall.domain.vo.WxCouponCVo"> <resultMap id="WxCouponCVoMap" type="com.iformall.domain.vo.WxCouponCVo">
@@ -195,7 +195,7 @@
<result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/> <result column="update_date" jdbcType="TIMESTAMP" property="updateDate"/>
<result column="business" jdbcType="INTEGER" property="business"/> <result column="business" jdbcType="INTEGER" property="business"/>
<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"


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