|
@@ -533,7 +533,7 @@
|
|
|
from cm_promotions_product cpp
|
|
|
left join cm_promotions cp on cp.id=cpp.promotionsId
|
|
|
where cpp.productId = #{p_id}
|
|
|
- and cp.endTime>now() or (cp.status='1')
|
|
|
+ and (cp.endTime>now() or cp.status='1')
|
|
|
and cp.delflag = 0
|
|
|
</select>
|
|
|
</mapper>
|