Browse Source

[积分][增加]:投放频道新增积分券停车券查询

release_toaliyun_real
hanxueda 7 years ago
parent
commit
32f71a6b8f
2 changed files with 17 additions and 0 deletions
  1. +11
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java
  2. +6
    -0
      mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml

+ 11
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java View File

@@ -53,6 +53,10 @@ public class WxCouponChannel implements Serializable {

@Transient
protected List<Long> couponIds;

@Transient
protected List<Integer> types;

public List<Long> getCouponIds() {
return couponIds;
}
@@ -60,6 +64,13 @@ public class WxCouponChannel implements Serializable {
this.couponIds = couponIds;
}

public List<Integer> getTypes() {
return types;
}

public void setTypes(List<Integer> types) {
this.types = types;
}

/*租户ID**/
@io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId")


+ 6
- 0
mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml View File

@@ -93,6 +93,12 @@
#{couponIdsItem}
</foreach>
</if>
<if test=" null != types ">
and c.type in
<foreach collection="types" index="index" item="typesItem" open="(" separator="," close=")">
#{typesItem}
</foreach>
</if>
<if test=" null != sortColumns"> order by ${sortColumns} </if>
</sql>



Loading…
Cancel
Save