|
@@ -63,7 +63,7 @@ public class RankingServiceImpl implements RankingService {
|
|
|
for (MonitorDataValueEntity monitorEntity:monitorList ) {
|
|
|
if (sceneDeviceDto.getAttributeId().equals(monitorEntity.getAttributeId())){
|
|
|
RankingDto rankingDto = new RankingDto();
|
|
|
- rankingDto.setName(monitorEntity.getAttributeName());
|
|
|
+ rankingDto.setName(sceneDeviceDto.getDeviceName());
|
|
|
rankingDto.setScore(monitorEntity.getDataValue());
|
|
|
result.add(rankingDto);
|
|
|
break;
|