Commit b07c6a2d authored by hongguangwu's avatar hongguangwu

人员档案相关-权限

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