Просмотр исходного кода

[商铺商户][修改]商铺列表显示绑定的商户名

release_toaliyun_real
gongbiao 7 лет назад
Родитель
Сommit
6d97a0b6e9
1 измененных файлов: 4 добавлений и 2 удалений
  1. +4
    -2
      mallinkService/src/main/resources/mapper/WxShopMapper.xml

+ 4
- 2
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


Загрузка…
Отмена
Сохранить