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

master
RuoYi 5 years ago committed by Limy
parent 0a1d08d760
commit 7ef1b8aed9

@ -131,7 +131,8 @@ public class DataScopeAspect
}
else
{
sqlString.append(StringUtils.format(" OR {}.dept_id IS NULL ", deptAlias));
// 数据权限为仅本人且没有userAlias别名不查询任何数据
sqlString.append(" OR 1=0 ");
}
}
}

Loading…
Cancel
Save