Duan_xu 2 سال پیش
والد
کامیت
d2680268ae
1فایلهای تغییر یافته به همراه2 افزوده شده و 18 حذف شده
  1. 2 18
      src/main/resources/mapper/PageMapper.xml

+ 2 - 18
src/main/resources/mapper/PageMapper.xml

@@ -110,22 +110,7 @@
                adsLink5,
                displayDate1,
                displayDate2,
-               displayDate3,
-               productId1,
-               productId2,
-               productId3,
-               productId4,
-               productId5,
-               jumpImage1,
-               jumpImage2,
-               jumpImage3,
-               jumpImage4,
-               jumpImage5,
-               jumpType1,
-               jumpType2,
-               jumpType3,
-               jumpType4,
-               jumpType5
+               displayDate3
         from new_page_floor_content
         where centreId = #{id}
     </select>
@@ -751,8 +736,7 @@
         order by -sort desc,addTime desc
     </select>
     <select id="getBaikeProducts" resultType="com.caimei365.commodity.model.vo.BaikeProductVo">
-        select id as productId, commodityType, image, name, discription, publishTime,
-               (ifnull(basePv,0) + ifnull(actualPv,0)) as pv
+        select id as productId, commodityType, image, name, discription, publishTime, (basePv + actualPv) as pv
         from cm_baike_product
         <where>
             status = 1 and NOW() > publishTime and delFlag = 0 and auditStatus = 2 and onlineStatus = 2