Commit 31164362 by 潘诗林

fix:查询生效活动时,检验状态

1 parent c43e545b
......@@ -114,7 +114,9 @@
<if test="merchantId != null">
INNER JOIN dj_marketing_activity_store s ON a.id = s.activity_id AND s.deleted_flag = 'N'
</if>
WHERE a.deleted_flag = 'N'
WHERE
a.status = 1
AND a.deleted_flag = 'N'
AND a.start_time &lt;= #{rangeEnd}
AND a.end_time &gt;= #{rangeStart}
<if test="merchantId != null">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!