开启部分缓存

This commit is contained in:
WenG 2020-12-24 22:57:27 +08:00
parent 48dd9bfc7a
commit 992afb200e
2 changed files with 4 additions and 4 deletions

View File

@ -864,7 +864,7 @@
</select> </select>
<!-- 部门ID列表 --> <!-- 部门ID列表 -->
<select id="listDepartmentId" parameterType="map" resultType="java.lang.String" useCache="false"> <select id="listDepartmentId" parameterType="map" resultType="java.lang.String" useCache="true">
SELECT SELECT
department_id department_id
FROM FROM

View File

@ -358,7 +358,7 @@
</insert> </insert>
<!-- 删除部门人员 --> <!-- 删除部门人员 -->
<select id="listDepartmentUsers" parameterType="map" resultMap="departmentUserDTO" useCache="false"> <select id="listDepartmentUsers" parameterType="map" resultMap="departmentUserDTO" useCache="true">
SELECT SELECT
t1.user_sort, t1.user_sort,
t2.user_id, t2.user_id,
@ -1482,7 +1482,7 @@
</update> </update>
<!-- 部门用户列表通过部门ID获取 --> <!-- 部门用户列表通过部门ID获取 -->
<select id="listDepartmentUserIdByDepartmentId" parameterType="string" resultType="java.lang.String" useCache="false"> <select id="listDepartmentUserIdByDepartmentId" parameterType="string" resultType="java.lang.String" useCache="true">
SELECT SELECT
user_id user_id
FROM FROM
@ -1566,7 +1566,7 @@
</update> </update>
<!-- 部门用户ID列表 --> <!-- 部门用户ID列表 -->
<select id="listDepartmentUserIds" parameterType="map" resultType="java.lang.String" useCache="false"> <select id="listDepartmentUserIds" parameterType="map" resultType="java.lang.String" useCache="true">
SELECT SELECT
user_id user_id
FROM FROM