From 298fc81ea1591785fecea06882111f5fee56c079 Mon Sep 17 00:00:00 2001 From: luozukai Date: Mon, 24 Jun 2019 14:40:07 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=B8=93=E9=A2=98][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=97=E8=A1=A8=EF=BC=8C=E4=B8=8D=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E5=B7=B2=E4=B8=8A=E6=9E=B6=E7=9A=84=E6=95=B0=E6=8D=AE?= =?UTF-8?q?]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxCouponMapper.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml index a4839de82..ccf337ee8 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml @@ -244,6 +244,7 @@ + order by ${sortColumns} @@ -414,6 +415,12 @@ #{typesItem} + + + and c.id not in + (select coupon_id from wx_coupon_channel where tenant_id=#{tenantId} and status = 0) + + order by ${sortColumns}