Commit 67637971 authored by wzp's avatar wzp

修改bug

parent 5e817da3
......@@ -92,6 +92,9 @@ public class TUserController extends BaseController {
if (user1.getRoleList().size()>0&&!user1.getRoleList().contains("1")) {
//设置用户数据权限
user.setOrgCode(user1.getOrgCode());
if (user1.getRoleList().contains("3")){
user.setOrgCode(null);
}
}
if ("2".equals(type)) {
List<String> roleList = user1.getRoleList();
......
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