diff --git a/das/src/main/java/com/das/modules/page/service/impl/StatisticalAnalysisServiceImpl.java b/das/src/main/java/com/das/modules/page/service/impl/StatisticalAnalysisServiceImpl.java index 5c9560ec..558bdf19 100644 --- a/das/src/main/java/com/das/modules/page/service/impl/StatisticalAnalysisServiceImpl.java +++ b/das/src/main/java/com/das/modules/page/service/impl/StatisticalAnalysisServiceImpl.java @@ -431,10 +431,13 @@ public class StatisticalAnalysisServiceImpl implements StatisticalAnalysisServic Map stringObjectMap = dataList.get(i); stringObjectMap.put("theoryIWindSpeed", stringObjectMap1.get("theoryIWindSpeed")); stringObjectMap.put("theoryIGenPower", stringObjectMap1.get("theoryIGenPower")); - listMap.remove(i); + }else { + HashMap theoryMaps = new HashMap<>(); + theoryMaps.put("theoryIWindSpeed", stringObjectMap1.get("theoryIWindSpeed")); + theoryMaps.put("theoryIGenPower", stringObjectMap1.get("theoryIGenPower")); + dataList.add(theoryMaps); } } - dataList.addAll(listMap); } else { for (int i = 0; i < dataList.size(); i++) { Map dataMap = dataList.get(i);