diff --git a/mallinkService/src/main/resources/mapper/WxShopMapper.xml b/mallinkService/src/main/resources/mapper/WxShopMapper.xml index 5c42acf5c..946a7e158 100644 --- a/mallinkService/src/main/resources/mapper/WxShopMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxShopMapper.xml @@ -174,6 +174,9 @@ and s.`status` = #{status} + + and s.id not in(select shop_id from wx_rent_contract where status!=1 and status!=6 and merchant_id is not null) + and s.`x` = #{x}