From 32f71a6b8fd9f46318ec7b2064fe11167a5d5827 Mon Sep 17 00:00:00 2001 From: hanxueda Date: Mon, 15 Apr 2019 19:41:23 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=A7=AF=E5=88=86][=E5=A2=9E=E5=8A=A0]:?= =?UTF-8?q?=E6=8A=95=E6=94=BE=E9=A2=91=E9=81=93=E6=96=B0=E5=A2=9E=E7=A7=AF?= =?UTF-8?q?=E5=88=86=E5=88=B8=E5=81=9C=E8=BD=A6=E5=88=B8=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iformall/domain/po/WxCouponChannel.java | 11 +++++++++++ .../main/resources/mapper/WxCouponChannelMapper.xml | 6 ++++++ 2 files changed, 17 insertions(+) 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}