|
@@ -57,7 +57,7 @@ public class SysDeptOrganServiceImpl implements SysDeptOrganService {
|
|
|
if (sysDept.getParentId() != 0) {
|
|
|
wrapperT.eq(SysDeptOrgan::getDeptId, sysDept.getParentId());
|
|
|
organsT = deptOrganMapper.selectList(wrapperT);
|
|
|
- SysDept sysDeptTwo = sysDeptMapper.selectDeptById(deptId);
|
|
|
+ SysDept sysDeptTwo = sysDeptMapper.selectDeptById(sysDept.getParentId());
|
|
|
hashMap.put(sysDeptTwo.getDeptName(), organsT);
|
|
|
}
|
|
|
hashMap.put(sysDept.getDeptName(), organs);
|