Commit 233ef61d by 徐高华

sql

parent 0f8b789b
......@@ -327,7 +327,7 @@
<!-- 许可状态 0 未激活,1 正常有效,2 即将过期,3 已过期,可多传,按‘,’隔开 -->
<if test="null != permitState and '' != permitState">
<if test="permitState==0">
and a.active_status = 0
and a.expire_time is null
</if>
<if test="permitState==1">
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)
......
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