feat: guava缓存/登录拦截器

This commit is contained in:
2024-03-04 17:39:22 +08:00
parent c0ec4e34f8
commit 9f36b9a126
30 changed files with 503 additions and 98 deletions

View File

@@ -24,7 +24,7 @@
select id,
name,
parent_id,
type,
`type`,
menu_url,
status, `show`, icon, permission_key, created_by, created_time, update_by, update_time, is_deleted
from auth_permission
@@ -34,7 +34,7 @@
<!--查询指定行数据-->
<select id="queryAllByLimit" resultMap="AuthPermissionMap">
select
id, name, parent_id, type, menu_url, status, `show`, icon, permission_key, created_by, created_time, update_by,
id, name, parent_id, `type`, menu_url, status, `show`, icon, permission_key, created_by, created_time, update_by,
update_time, is_deleted
from auth_permission
<where>
@@ -42,22 +42,22 @@
and id = #{id}
</if>
<if test="name != null and name != ''">
and name = #{name}
and `name` = #{name}
</if>
<if test="parentId != null">
and parent_id = #{parentId}
</if>
<if test="type != null">
and type = #{type}
and `type` = #{type}
</if>
<if test="menuUrl != null and menuUrl != ''">
and menu_url = #{menuUrl}
</if>
<if test="status != null">
and status = #{status}
and `status` = #{status}
</if>
<if test="show != null">
and show = #{show}
and `show` = #{show}
</if>
<if test="icon != null and icon != ''">
and icon = #{icon}
@@ -92,7 +92,7 @@
and id = #{id}
</if>
<if test="name != null and name != ''">
and name = #{name}
and `name` = #{name}
</if>
<if test="parentId != null">
and parent_id = #{parentId}
@@ -104,10 +104,10 @@
and menu_url = #{menuUrl}
</if>
<if test="status != null">
and status = #{status}
and `status` = #{status}
</if>
<if test="show != null">
and show = #{show}
and `show` = #{show}
</if>
<if test="icon != null and icon != ''">
and icon = #{icon}