|
|
|
@ -212,16 +212,16 @@ public class HistoryDeviceServiceImpl implements IHistoryDeviceService {
|
|
|
|
|
// 返回结构
|
|
|
|
|
return result.getData().entrySet().stream().map(entry->{ |
|
|
|
|
HistoryDataVo history = new HistoryDataVo(); |
|
|
|
|
if("firstAttr".equals(entry.getKey())){ |
|
|
|
|
if("firstAttrId".equals(entry.getKey())){ |
|
|
|
|
history.setAttrIndex(param.getFirstAttrId()); |
|
|
|
|
history.setAttrIndexName(param.getFirstAttrName()); |
|
|
|
|
}else if("secondAttr".equals(entry.getKey())){ |
|
|
|
|
}else if("secondAttrId".equals(entry.getKey())){ |
|
|
|
|
history.setAttrIndex(param.getSecondAttrId()); |
|
|
|
|
history.setAttrIndexName(param.getSecondAttrName()); |
|
|
|
|
}else if("thirdlyAttr".equals(entry.getKey())){ |
|
|
|
|
}else if("thirdlyAttrId".equals(entry.getKey())){ |
|
|
|
|
history.setAttrIndex(param.getThirdlyAttrId()); |
|
|
|
|
history.setAttrIndexName(param.getThirdlyAttrName()); |
|
|
|
|
}else if("fourthAttr".equals(entry.getKey())){ |
|
|
|
|
}else if("fourthAttrId".equals(entry.getKey())){ |
|
|
|
|
history.setAttrIndex(param.getFourthAttrId()); |
|
|
|
|
history.setAttrIndexName(param.getFourthAttrName()); |
|
|
|
|
}else{ |
|
|
|
|