fix:修复授权过期的bug
This commit is contained in:
@@ -43,6 +43,7 @@
|
|||||||
where type = 'menu'
|
where type = 'menu'
|
||||||
and user_id = #{userId}
|
and user_id = #{userId}
|
||||||
and is_deleted = 0
|
and is_deleted = 0
|
||||||
|
and (expire_time is null or expire_time > now())
|
||||||
|
|
||||||
union
|
union
|
||||||
|
|
||||||
@@ -52,7 +53,7 @@
|
|||||||
where type = 'job'
|
where type = 'job'
|
||||||
and user_id = #{userId}
|
and user_id = #{userId}
|
||||||
and cru.is_deleted = 0
|
and cru.is_deleted = 0
|
||||||
|
and (cru.expire_time is null or cru.expire_time > now())
|
||||||
|
|
||||||
<if test="roleId != null and roleId != ''">
|
<if test="roleId != null and roleId != ''">
|
||||||
union
|
union
|
||||||
|
|||||||
Reference in New Issue
Block a user