Commit 08a39097 authored by 高东东's avatar 高东东

*)修改自动选择公司bug

parent 623f8997
...@@ -106,9 +106,9 @@ public class PermissionAspect { ...@@ -106,9 +106,9 @@ public class PermissionAspect {
DepartmentBo departmentBo = convertDepartmentModelToBo(deptList.get(0)); DepartmentBo departmentBo = convertDepartmentModelToBo(deptList.get(0));
regionParam.setCompany(companyBo); regionParam.setCompany(companyBo);
regionParam.setDepartment(departmentBo); regionParam.setDepartment(departmentBo);
if(!ObjectUtils.isEmpty(roleModels)){ }
regionParam.setRole(convertRoleModelToBo(roleModels.get(0))); if(!ObjectUtils.isEmpty(roleModels)){
} regionParam.setRole(convertRoleModelToBo(roleModels.get(0)));
} }
redisTemplate.opsForValue().set(buildKey(userId, token), JSONObject.toJSONString(regionParam)); redisTemplate.opsForValue().set(buildKey(userId, token), JSONObject.toJSONString(regionParam));
} }
......
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