Browse Source

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

release_toaliyun_real
luozukai 7 years ago
parent
commit
2a9a31910f
2 changed files with 12 additions and 1 deletions
  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 View File

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

private Long couponId;


//营销分析
private WxCouponStatisVo wxCouponStatisVo;

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

public Long getCouponId() {
return couponId;
}

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

public Integer getSupportTransfer() {
return supportTransfer;
}


+ 1
- 1
mallinkService/src/main/resources/mapper/WxCouponMapper.xml View File

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

<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
where ct.`sub_target_id` = #{id}
</select>


Loading…
Cancel
Save