1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

Optimized pagination in UserManagement

This commit is contained in:
2023-06-01 18:15:59 +08:00
parent bf88054c35
commit 0a3d256ecf
3 changed files with 1 additions and 15 deletions

View File

@@ -2,17 +2,6 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cfive.pinnacle.mapper.permission.UserMapper">
<select id="getAll" resultMap="userBase">
select t_user.id as user_id,
t_user.username as user_username,
t_user.department_id as user_department_id,
t_user.enable as user_enable,
t_user.deleted as user_deleted,
t_user.version as user_version
from t_user
where deleted = 0
</select>
<select id="getAllWithRoleAndGroup" resultMap="userMap">
select distinct t_user.id as user_id,
t_user.username as user_username,