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

[首页统计][修改][修改出租信息]

release_toaliyun_real
luozukai 7 лет назад
Родитель
Сommit
2a9a31910f
2 измененных файлов: 12 добавлений и 1 удалений
  1. +11
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxCoupon.java
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

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

@@ -188,6 +188,9 @@ public class WxCoupon implements Serializable {
@Transient @Transient
private Integer targetAd; private Integer targetAd;


private Long couponId;


//营销分析 //营销分析
private WxCouponStatisVo wxCouponStatisVo; private WxCouponStatisVo wxCouponStatisVo;


@@ -348,6 +351,14 @@ public class WxCoupon implements Serializable {
subBusiness = _subBusiness; subBusiness = _subBusiness;
} }


public Long getCouponId() {
return couponId;
}

public void setCouponId(Long couponId) {
this.couponId = couponId;
}

public Integer getSupportTransfer() { public Integer getSupportTransfer() {
return supportTransfer; return supportTransfer;
} }


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

@@ -765,7 +765,7 @@
</select> </select>


<select id="findCouponByTopic" parameterType="com.iformall.domain.po.WxTopic" resultType="com.iformall.domain.po.WxCoupon"> <select id="findCouponByTopic" parameterType="com.iformall.domain.po.WxTopic" resultType="com.iformall.domain.po.WxCoupon">
select wc.* from wx_coupon_channel ct left join
select wc.*,ct.id as couponId from wx_coupon_channel ct left join
wx_coupon wc on wc.id = ct.coupon_id wx_coupon wc on wc.id = ct.coupon_id
where ct.`sub_target_id` = #{id} where ct.`sub_target_id` = #{id}
</select> </select>


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