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>