Commit d9d63cc0 by RuoYi

数据权限为仅本人且没有userAlias别名不查询任何数据

parent dcd6f225
......@@ -131,7 +131,8 @@ public class DataScopeAspect
}
else
{
sqlString.append(StringUtils.format(" OR {}.dept_id IS NULL ", deptAlias));
// 数据权限为仅本人且没有userAlias别名不查询任何数据
sqlString.append(" OR 1=0 ");
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment