Procházet zdrojové kódy

百科商品列表

Aslee před 3 roky
rodič
revize
e546564e86
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
+            status = 1 and NOW() > publishTime and delFlag = 0
             <if test="typeId != null">
                 and typeId = #{typeId}
             </if>