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