@@ -203,7 +203,7 @@
LEFT JOIN cm_promotions cp on cpp.promotionsId = cp.id
<where>
cp.type = #{promotionType}
- AND cp.delFlag != '2'
+ AND cp.delFlag = 0
AND cpp.productId != 0
<if test="delIdList != null and delIdList.size > 0">
AND cpp.productId NOT IN