|
|
|
@@ -457,8 +457,8 @@ |
|
|
|
</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 not in(0,5,6,7) |
|
|
|
and merchant_id is not null and rent_shop_type=2 |
|
|
|
SELECT shop_id FROM wx_rent_contract WHERE tenant_id = #{tenantId} and status in(2,3,4) |
|
|
|
and rent_shop_type=2 |
|
|
|
) |
|
|
|
</if> |
|
|
|
<if test=" null != type "> |
|
|
|
|