Bläddra i källkod

Merge remote-tracking branch 'origin/developerA' into developerC

chao 3 år sedan
förälder
incheckning
8903999ddb
1 ändrade filer med 1 tillägg och 1 borttagningar
  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
         select id as productId, commodityType, image, name, discription, publishTime, (basePv + actualPv) as pv
         from cm_baike_product
         from cm_baike_product
         <where>
         <where>
-            status = 1 and NOW() > publishTime
+            status = 1 and NOW() > publishTime and delFlag = 0
             <if test="typeId != null">
             <if test="typeId != null">
                 and typeId = #{typeId}
                 and typeId = #{typeId}
             </if>
             </if>