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