Przeglądaj źródła

[营销分析][添加][卡营销列表]

release_toaliyun_real
luozukai 7 lat temu
rodzic
commit
e403934c11
2 zmienionych plików z 21 dodań i 1 usunięć
  1. +13
    -0
      mallinkService/src/main/java/com/iformall/domain/vo/WxCouponOrderBVo.java
  2. +8
    -1
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml

+ 13
- 0
mallinkService/src/main/java/com/iformall/domain/vo/WxCouponOrderBVo.java Wyświetl plik

@@ -119,6 +119,9 @@ public class WxCouponOrderBVo extends WxCouponOrder{


@Transient @Transient
private Long couponId; private Long couponId;
@Transient
private Integer couponType;



@Override @Override
public Long getCouponId() { public Long getCouponId() {
@@ -130,6 +133,16 @@ public class WxCouponOrderBVo extends WxCouponOrder{
this.couponId = couponId; this.couponId = couponId;
} }


@Override
public Integer getCouponType() {
return couponType;
}

@Override
public void setCouponType(Integer couponType) {
this.couponType = couponType;
}

public Date getStartDate() { public Date getStartDate() {
return startDate; return startDate;
} }


+ 8
- 1
mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml Wyświetl plik

@@ -326,7 +326,14 @@
and tcm.status = 0) as mc and tcm.status = 0) as mc
from wx_coupon_order tco) com from wx_coupon_order tco) com
where com.tcoid = co.id where com.tcoid = co.id
and co.coupon_type < 100
<choose>
<when test=" null != couponType">
and co.coupon_type = #{couponType}
</when>
<otherwise>
and co.coupon_type &lt; 100
</otherwise>
</choose>
and c.id = co.coupon_id and c.id = co.coupon_id
<if test=" null != tenantId "> <if test=" null != tenantId ">
and co.tenant_id = #{tenantId} and co.tenant_id = #{tenantId}


Ładowanie…
Anuluj
Zapisz