Authored by ping

update

... ... @@ -171,6 +171,6 @@
where status = 1 and id not in (select id from drawline_activity_luckydraw where draw_status = 1 and status = 1)
</select>
<select id="selectAllActivity" resultMap="BaseResultMap">
select * from drawline_activity where status=1
select * from drawline_activity where status=1 and begin_time&lt;=UNIX_TIMESTAMP() and end_time &gt;=UNIX_TIMESTAMP()
</select>
</mapper>
\ No newline at end of file
... ...