From 83f03bb2ff6f8600eb740fca32d5e2f884d2c4ae Mon Sep 17 00:00:00 2001 From: gongbiao Date: Fri, 19 Oct 2018 11:33:28 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=90=88=E5=90=8C=E7=AE=A1=E7=90=86][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E5=8F=AA=E9=80=89=E6=8B=A9=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=90=88=E5=90=8C=E5=85=B3=E8=81=94=E7=9A=84=E5=BA=97?= =?UTF-8?q?=E9=93=BA]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mallinkService/src/main/resources/mapper/WxShopMapper.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mallinkService/src/main/resources/mapper/WxShopMapper.xml b/mallinkService/src/main/resources/mapper/WxShopMapper.xml index 5c42acf5c..946a7e158 100644 --- a/mallinkService/src/main/resources/mapper/WxShopMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxShopMapper.xml @@ -174,6 +174,9 @@ and s.`status` = #{status} + + and s.id not in(select shop_id from wx_rent_contract where status!=1 and status!=6 and merchant_id is not null) + and s.`x` = #{x}