bug修改提交
This commit is contained in:
@@ -199,6 +199,8 @@ public class StableDataServiceImpl implements StableDataService {
|
|||||||
vo.setStatisticalIndex(data.getId());
|
vo.setStatisticalIndex(data.getId());
|
||||||
vo.setStatisticalName(data.getName()+ finalFrequency +"("+data.getUnit()+")");
|
vo.setStatisticalName(data.getName()+ finalFrequency +"("+data.getUnit()+")");
|
||||||
vo.setAnotherName(data.getShowName());
|
vo.setAnotherName(data.getShowName());
|
||||||
|
vo.setUnit(data.getUnit());
|
||||||
|
|
||||||
return vo;
|
return vo;
|
||||||
}).collect(Collectors.toList());
|
}).collect(Collectors.toList());
|
||||||
|
|
||||||
@@ -238,6 +240,8 @@ public class StableDataServiceImpl implements StableDataService {
|
|||||||
vo.setStatMethod(temp.getValueType());
|
vo.setStatMethod(temp.getValueType());
|
||||||
vo.setStatisticalData(Double.valueOf(df.format(temp.getValue())));
|
vo.setStatisticalData(Double.valueOf(df.format(temp.getValue())));
|
||||||
vo.setStatisticalIndex(data.getId());
|
vo.setStatisticalIndex(data.getId());
|
||||||
|
vo.setUnit(data.getUnit());
|
||||||
|
|
||||||
return vo;
|
return vo;
|
||||||
}).collect(Collectors.toList());
|
}).collect(Collectors.toList());
|
||||||
|
|
||||||
@@ -282,6 +286,7 @@ public class StableDataServiceImpl implements StableDataService {
|
|||||||
vo.setStatMethod(temp.getValueType());
|
vo.setStatMethod(temp.getValueType());
|
||||||
vo.setStatisticalData(Double.valueOf(df.format(temp.getValue())));
|
vo.setStatisticalData(Double.valueOf(df.format(temp.getValue())));
|
||||||
vo.setStatisticalIndex(data.getId());
|
vo.setStatisticalIndex(data.getId());
|
||||||
|
vo.setUnit(data.getUnit());
|
||||||
return vo;
|
return vo;
|
||||||
}).collect(Collectors.toList());
|
}).collect(Collectors.toList());
|
||||||
collect1 = collect1.stream().distinct().collect(Collectors.toList());
|
collect1 = collect1.stream().distinct().collect(Collectors.toList());
|
||||||
|
|||||||
Reference in New Issue
Block a user