From b90f8b9d5ee1c7e694b45dca7ad02f90124b49a1 Mon Sep 17 00:00:00 2001 From: gongbiao Date: Mon, 21 Jan 2019 13:47:10 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=89=A9=E4=B8=9A=E5=90=88=E5=90=8C][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E9=80=89=E6=8B=A9=E5=B7=B2=E7=A7=9F?= =?UTF-8?q?=E5=BA=97=E9=93=BA=E7=9A=84=E6=95=B0=E6=8D=AE]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxPropertyContractMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml b/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml index 660836a94..35de11c19 100644 --- a/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml @@ -175,7 +175,7 @@ select rc.*,s.shop_number from wx_rent_contract rc inner join wx_shop s on rc.shop_id=s.id where rc.status not in(1,5,6,7) and rc.tenant_id=#{tenantId} and rc.id not in (select pc.rent_contract_id from ( - select rent_contract_id from wx_property_contract where status not in(1,5,6,7) and tenant_id=#{tenantId} + select rent_contract_id from wx_property_contract where status not in(5,6,7) and tenant_id=#{tenantId} ) pc) and rent_shop_type = #{rentShopType}