|
@@ -52,7 +52,7 @@
|
|
</select>
|
|
</select>
|
|
<select id="getFloorImageById" resultType="com.caimei365.commodity.model.vo.FloorImageVo">
|
|
<select id="getFloorImageById" resultType="com.caimei365.commodity.model.vo.FloorImageVo">
|
|
select
|
|
select
|
|
- id, floorId, centreId, productId, name, link, image, label, pcStatus, appletsStatus, sort, createDate
|
|
|
|
|
|
+ id, floorId, centreId, productId, name, link, image, appletsImage, label, pcStatus, appletsStatus, sort, createDate
|
|
from new_page_floor_image
|
|
from new_page_floor_image
|
|
where floorId = #{id}
|
|
where floorId = #{id}
|
|
<if test="source == 1">
|
|
<if test="source == 1">
|
|
@@ -71,7 +71,7 @@
|
|
</select>
|
|
</select>
|
|
<select id="getFloorImageByCentreId" resultType="com.caimei365.commodity.model.vo.FloorImageVo">
|
|
<select id="getFloorImageByCentreId" resultType="com.caimei365.commodity.model.vo.FloorImageVo">
|
|
select
|
|
select
|
|
- id, floorId, centreId, productId, name, link, image, label, pcStatus, appletsStatus, sort, createDate
|
|
|
|
|
|
+ id, floorId, centreId, productId, name, link, image, appletsImage, label, pcStatus, appletsStatus, sort, createDate
|
|
from new_page_floor_image
|
|
from new_page_floor_image
|
|
where centreId = #{id}
|
|
where centreId = #{id}
|
|
<if test="source == 1">
|
|
<if test="source == 1">
|
|
@@ -200,10 +200,10 @@
|
|
and type = #{typeId}
|
|
and type = #{typeId}
|
|
</select>
|
|
</select>
|
|
<select id="getImageLinkByFloorId" resultType="com.caimei365.commodity.model.vo.ImageLinkVo">
|
|
<select id="getImageLinkByFloorId" resultType="com.caimei365.commodity.model.vo.ImageLinkVo">
|
|
- select a.id as id,
|
|
|
|
- a.title as title,
|
|
|
|
- a.link as link,
|
|
|
|
- a.image as image
|
|
|
|
|
|
+ select a.id,
|
|
|
|
+ a.title,
|
|
|
|
+ a.link,
|
|
|
|
+ a.image
|
|
from cm_page_image a
|
|
from cm_page_image a
|
|
right join cm_page_centre_image b on b.imageId=a.id
|
|
right join cm_page_centre_image b on b.imageId=a.id
|
|
where b.centreId=#{floorId} and a.enabledStatus=1
|
|
where b.centreId=#{floorId} and a.enabledStatus=1
|
|
@@ -242,6 +242,8 @@
|
|
title,
|
|
title,
|
|
keywords,
|
|
keywords,
|
|
description,
|
|
description,
|
|
|
|
+ headImage,
|
|
|
|
+ crmHeadImage,
|
|
headLink,
|
|
headLink,
|
|
headText
|
|
headText
|
|
from cm_page where id = #{pageId} and enabledStatus = '1'
|
|
from cm_page where id = #{pageId} and enabledStatus = '1'
|