Browse Source

百科列表sql更新

Aslee 3 năm trước cách đây
mục cha
commit
7935078a46
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/main/resources/mapper/PageMapper.xml

+ 1 - 1
src/main/resources/mapper/PageMapper.xml

@@ -713,7 +713,7 @@
         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
+            status = 1 and NOW() > publishTime and delFlag = 0 and auditStatus = 2 and onlineStatus = 2
             <if test="typeId != null">
                 and typeId = #{typeId}
             </if>