From df48b27987aae1915ed3f380bec9217a6bae828d Mon Sep 17 00:00:00 2001 From: gongbiao Date: Thu, 18 Apr 2019 13:42:51 +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][=E9=80=89=E6=8B=A9=E5=BA=97=E9=93=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxRentContractMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml b/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml index 5cc76ec7b..2033ad159 100644 --- a/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml @@ -202,9 +202,9 @@ left join wx_mall_building b on s.building=b.id left join wx_mall_floor f on s.floor=f.id left join wx_merchant_shop ms on s.id=ms.shop_id - where s.tenant_id=#{tenant_id} and ms.is_del=0) s + 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 - where rc.tenant_id=#{tenant_id} + where rc.tenant_id=#{tenantId} order by rc.id desc