|
@@ -730,6 +730,11 @@ public class DeviceGatewayImpl implements DeviceGateway {
|
|
|
ShareDto dto = new ShareDto();
|
|
|
BeanUtils.copyProperties(share, dto);
|
|
|
dto.setShareTime(share.getCreateTime());
|
|
|
+
|
|
|
+ Long devId = share.getDevId();
|
|
|
+ DevInfo devInfo = devInfoService.getById(devId);
|
|
|
+ dto.setClientId(devInfo.getClientId());
|
|
|
+ dto.setDevName(devInfo.getDevName());
|
|
|
res.add(dto);
|
|
|
}
|
|
|
return res;
|