|
|
|
@@ -500,7 +500,7 @@ |
|
|
|
</if> |
|
|
|
<if test="null!=status and status==1 and type!=null and type==2"> |
|
|
|
and s.id not in( |
|
|
|
SELECT shop_id FROM wx_rent_contract WHERE tenant_id = #{tenantId} and status in(2,3,4) |
|
|
|
SELECT shop_id FROM wx_rent_contract WHERE tenant_id = #{tenantId} and status in(1,2,3,4) |
|
|
|
and rent_shop_type=2 |
|
|
|
) |
|
|
|
</if> |
|
|
|
|