开启部分缓存

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>
<!-- 部门ID列表 -->
<select id="listDepartmentId" parameterType="map" resultType="java.lang.String" useCache="false">
<select id="listDepartmentId" parameterType="map" resultType="java.lang.String" useCache="true">
SELECT
department_id
FROM

View File

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