提交 3cb6401e 编写于 作者: zhouweidong's avatar zhouweidong

业务系统权限接入user代码

上级 5aa4c73d
...@@ -59,9 +59,9 @@ public class PermissionFeignService { ...@@ -59,9 +59,9 @@ public class PermissionFeignService {
" WHERE\n" + " WHERE\n" +
" SYS_USERID = '%s'\n" + " SYS_USERID = '%s'\n" +
" )\n" + " )\n" +
"AND t.SYSTEMID = '%s'\n" + "AND t2.SYSTEMID = '%s'\n" +
"AND t2.ENABLE = 1\n" + "AND t2.ENABLE = 1\n" +
"AND t.TYPE = 0"; "AND t2.TYPE = 0";
List<JSONObject> permissionList= permissionService.select(String.format(menuSQL,userid,systemid)); //查询用户权限下的菜单数据 List<JSONObject> permissionList= permissionService.select(String.format(menuSQL,userid,systemid)); //查询用户权限下的菜单数据
...@@ -97,8 +97,8 @@ public class PermissionFeignService { ...@@ -97,8 +97,8 @@ public class PermissionFeignService {
"\t\tWHERE\n" + "\t\tWHERE\n" +
"\t\t\tSYS_USERID = '%s'\n" + "\t\t\tSYS_USERID = '%s'\n" +
"\t)\n" + "\t)\n" +
"AND T.SYSTEMID = '%s'\n" + "AND T1.SYSTEMID = '%s'\n" +
"AND T.TYPE = 1"; "AND T1.TYPE = 1";
List<JSONObject> permissionList2= permissionService.select(String.format(opprivSQL,userid,systemid)); //查询用户权限下的菜单数据 List<JSONObject> permissionList2= permissionService.select(String.format(opprivSQL,userid,systemid)); //查询用户权限下的菜单数据
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册