diff --git a/pig-admin-service/src/main/resources/mapper/SysUserMapper.xml b/pig-admin-service/src/main/resources/mapper/SysUserMapper.xml index 0daa64e0..f9413681 100644 --- a/pig-admin-service/src/main/resources/mapper/SysUserMapper.xml +++ b/pig-admin-service/src/main/resources/mapper/SysUserMapper.xml @@ -56,9 +56,7 @@ LEFT JOIN sys_user_role AS ur ON ur.user_id = `user`.user_id LEFT JOIN sys_role AS r ON r.role_id = ur.role_id WHERE - `user`.del_flag = 0 - AND r.del_flag = 0 - AND `user`.username = #{username} + `user`.username = #{username}