|
|
@ -150,11 +150,12 @@ public class SysDeptServiceImpl extends BaseServiceImpl<SysDeptDao, SysDeptEntit |
|
|
|
|
|
|
|
SysDeptEntity entity = baseDao.getById(id); |
|
|
|
SysDeptDTO dto = ConvertUtils.sourceToTarget(entity, SysDeptDTO.class); |
|
|
|
|
|
|
|
if (dto != null) { |
|
|
|
GisGridDTO gisGridDTO = gisGridService.getByGridName(dto.getName()); |
|
|
|
if (gisGridDTO != null) { |
|
|
|
dto.setGisGridId(dto.getGisGridId()); |
|
|
|
} |
|
|
|
} |
|
|
|
return dto; |
|
|
|
} |
|
|
|
|
|
|
|