Commit 23931aa1 by 徐高华

sql

parent 92bdaf9b
......@@ -330,7 +330,7 @@
and a.active_status = 0
</if>
<if test="permitState==1">
and a.active_status = 1 and a.expire_time > now()
and a.active_status = 1 and a.expire_time > now() and a.expire_time > DATE_ADD(DATE_FORMAT(NOW(),'%Y-%m-%d'),INTERVAL 30 DAY)
</if>
<if test="permitState==2">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment