Commit aac1e226 authored by wzp's avatar wzp

修改bug

parent 314e4c99
...@@ -108,7 +108,8 @@ public class TUserController extends BaseController { ...@@ -108,7 +108,8 @@ public class TUserController extends BaseController {
if ("2".equals(type)) { if ("2".equals(type)) {
List<String> roleList = user1.getRoleList(); List<String> roleList = user1.getRoleList();
//如果是单位用户,只能查看本机构的单位用户 //如果是单位用户,只能查看本机构的单位用户
if (roleList != null && !roleList.contains("1") && roleList.contains("2")) { // if (roleList != null && !roleList.contains("1") && roleList.contains("2")) {
if ("2".equals(user1.getType())) {
user.setOrgId(user1.getOrgId()); user.setOrgId(user1.getOrgId());
} }
} }
......
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