|
@@ -21,7 +21,7 @@
|
|
|
order by -sort desc, creationTime desc
|
|
|
</select>
|
|
|
<select id="getHomePageFloor" resultType="com.caimei365.commodity.model.vo.PageFloorVo">
|
|
|
- select id, type, floorTitle as title, floorDetail as detail
|
|
|
+ select id, type, floorTitle as title, floorDetail as detail,productType
|
|
|
from new_page_floor
|
|
|
where delFlag = 0
|
|
|
<if test="source == 1">
|
|
@@ -47,12 +47,12 @@
|
|
|
<select id="getFloorContentById" resultType="com.caimei365.commodity.model.vo.FloorContentVo">
|
|
|
select
|
|
|
id, floorId, centreId, templateType, pcAdsImage1, pcAdsImage2, pcAdsImage3,
|
|
|
- appletsAdsImage1, appletsAdsImage2, appletsAdsImage3, adsLink1, adsLink2, adsLink3
|
|
|
+ appletsAdsImage1, appletsAdsImage2, appletsAdsImage3, adsLink1, adsLink2, adsLink3,productType
|
|
|
from new_page_floor_content where floorId = #{id}
|
|
|
</select>
|
|
|
<select id="getFloorImageById" resultType="com.caimei365.commodity.model.vo.FloorImageVo">
|
|
|
select
|
|
|
- id, floorId, centreId, productId, name, link, image, appletsImage, label, pcStatus, appletsStatus, sort, createDate
|
|
|
+ id, floorId, centreId, productId, name, link, image, appletsImage, label, pcStatus, appletsStatus, sort, createDate,productType
|
|
|
from new_page_floor_image
|
|
|
where floorId = #{id}
|
|
|
<if test="source == 1">
|
|
@@ -118,14 +118,14 @@
|
|
|
where p.productID = #{productId} and p.validFlag = 2
|
|
|
</select>
|
|
|
<select id="getSupplierFloorImage" resultType="com.caimei365.commodity.model.vo.ShopFloorVo">
|
|
|
- select id, crmImage, wwwImage, wwwLink
|
|
|
+ select id, crmImage, wwwImage, wwwLink,productType
|
|
|
from new_page_quality_supplier_image
|
|
|
limit 1
|
|
|
</select>
|
|
|
<select id="getSupplierImage" resultType="com.caimei365.commodity.model.vo.ShopImageVo">
|
|
|
select
|
|
|
id, supplierName, image, link, sort, wwwEnabledStatus, crmEnabledStatus,
|
|
|
- createBy, createDate, updateBy, updateDate, delFlag
|
|
|
+ createBy, createDate, updateBy, updateDate, delFlag,productType
|
|
|
from
|
|
|
new_page_quality_supplier
|
|
|
where
|