|
@@ -72,7 +72,7 @@ public class LoginService {
|
|
|
} catch (Exception ignored) {
|
|
|
}
|
|
|
tempUserInfo = userCache.get(tempUserInfo.getCode());
|
|
|
- userInfo.setDeptName(deptCache.get(userInfo.getDeptCode()).getName());
|
|
|
+ userInfo.setDeptName(deptCache.get(tempUserInfo.getDeptCode()).getName());
|
|
|
Set<String> deptList = publicServer.getDept(true, userInfo);
|
|
|
if (!deptList.isEmpty()) {
|
|
|
Map<String, String> tempMap = new HashMap<>(deptList.size());
|