diff --git a/mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java b/mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java index 08f2f5c2c..1b92944b4 100644 --- a/mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java +++ b/mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java @@ -53,6 +53,10 @@ public class WxCouponChannel implements Serializable { @Transient protected List couponIds; + + @Transient + protected List types; + public List getCouponIds() { return couponIds; } @@ -60,6 +64,13 @@ public class WxCouponChannel implements Serializable { this.couponIds = couponIds; } + public List getTypes() { + return types; + } + + public void setTypes(List types) { + this.types = types; + } /*租户ID**/ @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") diff --git a/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml index 682e5d3f9..30c322ab9 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml @@ -93,6 +93,12 @@ #{couponIdsItem} + + and c.type in + + #{typesItem} + + order by ${sortColumns}