|
|
@@ -203,7 +203,7 @@ |
|
|
left join wx_mall_floor f on s.floor=f.id |
|
|
left join wx_mall_floor f on s.floor=f.id |
|
|
left join wx_merchant_shop ms on s.id=ms.shop_id |
|
|
left join wx_merchant_shop ms on s.id=ms.shop_id |
|
|
where 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 |
|
|
|
|
|
|
|
|
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} |
|
|
where rc.tenant_id=#{tenantId} |
|
|
order by rc.id desc |
|
|
order by rc.id desc |
|
|
</select> |
|
|
</select> |
|
|
|