diff --git a/mallinkService/src/main/resources/mapper/WxShopMapper.xml b/mallinkService/src/main/resources/mapper/WxShopMapper.xml index e38b64700..465d911c6 100644 --- a/mallinkService/src/main/resources/mapper/WxShopMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxShopMapper.xml @@ -127,8 +127,10 @@ select s.id,s.shop_number shopNumber,s.build_area buildArea, s.img_url imgUrl,s.operation_area operationArea, - s.status,b.building_name building,f.floor_name floor - from wx_shop s left join wx_mall_building b + s.status,b.building_name building,f.floor_name floor,m.`name` merchantName + from wx_shop s inner join wx_merchant_shop ms on ms.shop_id=s.id and ms.is_del=0 + inner join wx_merchant m on ms.merchant_id=m.id + left join wx_mall_building b on s.building=b.id left join wx_mall_floor f on s.floor=f.id where 1 = 1