fix:修复授权过期的bug

This commit is contained in:
曾文豪
2024-06-26 10:19:30 +08:00
parent 093d39a108
commit 5a25006189

View File

@@ -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