diff --git a/coolstore-partner-dao/src/main/resources/mapper/ShopInfoMapper.xml b/coolstore-partner-dao/src/main/resources/mapper/ShopInfoMapper.xml index f8673e868..969501cb2 100644 --- a/coolstore-partner-dao/src/main/resources/mapper/ShopInfoMapper.xml +++ b/coolstore-partner-dao/src/main/resources/mapper/ShopInfoMapper.xml @@ -280,7 +280,9 @@ left join store_${enterpriseId} b on a.shop_code = b.store_num where a.shop_code is not null and a.shop_code !='' - and b.store_id is not null and a.id in + and b.store_id is not null + and b.is_delete = 'effective' + and a.id in #{shopId}