游客服务列表接口增加图片字段的返回

dev
zc 2 years ago
parent 5834a42968
commit 4b371003df
  1. 2
      cjy-project/src/main/resources/mapper/touristInfo/TouristInfoMapper.xml

@ -113,7 +113,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</sql>
<select id="selectTouristInfoList" parameterType="TouristInfo" resultMap="MapResult">
select t1.id,t1.type,t4.name as typeName,CAST(t1.resource_code AS char) as resourceCode,t1.resource_name as resourceName,t1.contacts,t1.telephone,t2.address,t2.lon,t2.lat,t1.inside_area as insideArea,t1.dynasty,t1.texture,t1.category
select t1.id,t1.type,t4.name as typeName,CAST(t1.resource_code AS char) as resourceCode,t1.resource_name as resourceName,t1.contacts,t1.telephone,t2.address,t2.lon,t2.lat,t1.inside_area as insideArea,t1.dynasty,t1.texture,t1.category,t3.image_url as imageUrl
from b_tourist_info as t1
left join b_geography_info as t2 on t1.resource_code = t2.resource_code
left join b_graphic_info as t3 on t1.resource_code = t3.resource_code

Loading…
Cancel
Save