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

[商铺][修改][查询语句字段取别名]

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

+ 3
- 2
mallinkService/src/main/resources/mapper/WxShopMapper.xml Просмотреть файл

@@ -339,11 +339,12 @@

<select id="findListWithMerchantMap" parameterType="com.iformall.domain.vo.WxShopVo" resultMap="VoResultMap">
select
s.id,s.shop_number,s.build_area,s.img_url,s.operation_area,s.status,s.manager,s.manager_phone,s.addr,s.type,s.point_type,
s.id as
id,s.shop_number,s.build_area,s.img_url,s.operation_area,s.status,s.manager,s.manager_phone,s.addr,s.type,s.point_type,
b.building_name,f.floor_name,
m.id merchantId,m.name merchantName,m.link_person,m.link_phone,
brand.name brandName,
bus.title business
bus.title business,s.create_date as create_date
from wx_shop s left join wx_merchant_shop ms on ms.shop_id=s.id and ms.is_del=0
left join wx_merchant m on ms.merchant_id=m.id
left join wx_mall_building b on s.building=b.id


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