From 6d97a0b6e9f00e65fa34e4bb39f6b52d8266bb8c Mon Sep 17 00:00:00 2001 From: gongbiao Date: Thu, 6 Sep 2018 16:20:55 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=95=86=E9=93=BA=E5=95=86=E6=88=B7][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9]=E5=95=86=E9=93=BA=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=BB=91=E5=AE=9A=E7=9A=84=E5=95=86=E6=88=B7?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mallinkService/src/main/resources/mapper/WxShopMapper.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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