Aslee 4 年之前
父節點
當前提交
f9f83f23fb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/ProductMapper.xml

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

@@ -37,7 +37,7 @@
         cop.clubTaxPoint
         from cm_organize_product cop
         left join product p on cop.productId = p.productID
-        where cop.organizeId = #{organizeId} and cop.delFlag = 0
+        where cop.organizeId = #{organizeId} and cop.delFlag = 0 and cop.status = 1
         <if test="productName != null and productName != ''">
             and p.name like concat('%',#{productName},'%')
         </if>