|
@@ -477,8 +477,8 @@ public class SysPcAddressServiceImpl extends ServiceImpl<SysPcAddressMapper, Sys
|
|
|
if (sysUser == null) continue;
|
|
if (sysUser == null) continue;
|
|
|
sysPcAddressHistory.setLeaderName(sysUser.getLeaderName());
|
|
sysPcAddressHistory.setLeaderName(sysUser.getLeaderName());
|
|
|
SysDept sysDept = sysDeptMapper.selectById(sysUser.getDeptId());
|
|
SysDept sysDept = sysDeptMapper.selectById(sysUser.getDeptId());
|
|
|
- if (sysDept == null) continue;
|
|
|
|
|
- sysPcAddressHistory.setDeptName(sysDept.getName());
|
|
|
|
|
|
|
+ String deptName = getDeptName(sysUser.getDeptId());
|
|
|
|
|
+ sysPcAddressHistory.setDeptName(deptName);
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|