From a1b54b4ce13efa1b14c297c19ad0909cfd0f0b72 Mon Sep 17 00:00:00 2001 From: gongbiao Date: Thu, 18 Apr 2019 13:56:01 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=97=A5=E5=B8=B8=E8=B4=A6=E5=8D=95][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E6=9F=A5=E8=AF=A2=E8=AF=AD=E5=8F=A5]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxRentContractMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml b/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml index 2033ad159..399109750 100644 --- a/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml @@ -203,7 +203,7 @@ left join wx_mall_floor f on s.floor=f.id left join wx_merchant_shop ms on s.id=ms.shop_id where ms.is_del=0) s - inner join (select * from wx_rent_contract where status not in(0,1,5,6,7)) rc on s.merchant_id=rc.merchant_id + inner join (select * from wx_rent_contract where status in(2,3,4)) rc on s.merchant_id=rc.merchant_id where rc.tenant_id=#{tenantId} order by rc.id desc