Commit b07c6a2d authored by hongguangwu's avatar hongguangwu

人员档案相关-权限

parent c8658e17
......@@ -174,7 +174,7 @@ public class SysDataAuthServiceImpl extends ServiceImpl<SysDataAuthMapper, SysDa
// 缓存里放入 id_菜单id, sql
if (!authSqlMap.isEmpty()) {
// 前缀
String prefix = " and (1=1 ";
String prefix = " and (1=2 ";
// 后缀
String suffix = " ) ";
for (Map.Entry<String, String> authSql : authSqlMap.entrySet()) {
......@@ -400,7 +400,7 @@ public class SysDataAuthServiceImpl extends ServiceImpl<SysDataAuthMapper, SysDa
// 缓存里放入 id_菜单id, sql
if (!authSqlMap.isEmpty()) {
// 前缀
String prefix = " and (1=1 ";
String prefix = " and (1=2 ";
// 后缀
String suffix = " ) ";
for (Map.Entry<String, String> authSql : authSqlMap.entrySet()) {
......
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