|
|
@@ -314,6 +314,7 @@ public class enterprise extends Controller {
|
|
|
|
|
|
for(Row row :rows){
|
|
|
Rows actualRows = new Rows();
|
|
|
+ row = addActualRow(row);
|
|
|
String assessmentindicators = row.getString("assessmentindicators");
|
|
|
//统计维度
|
|
|
String statisticaldimension = row.getString("statisticaldimension");
|
|
|
@@ -423,15 +424,14 @@ public class enterprise extends Controller {
|
|
|
actualRows = dbConnect.runSqlQuery(sqlFactory);
|
|
|
}
|
|
|
|
|
|
- RowsMap rowsMap = actualRows.toRowsMap("year");
|
|
|
|
|
|
for (Row tempActualRow : actualRows) {
|
|
|
Row actualRow = new Row();
|
|
|
- if (rowsMap.containsKey(tempActualRow.getLong("year"))) {
|
|
|
+ if (tempActualRow.getLong("year")==row.getLong("year")) {
|
|
|
actualRow.putAll(tempActualRow);
|
|
|
}
|
|
|
- rowsMap.get(tempActualRow.getLong("year")).get(0).putAll(actualRow);
|
|
|
- rowsMap.get(tempActualRow.getLong("year")).get(0).putAll(calculate(rowsMap.get(tempActualRow.getLong("year")).get(0), actualRow));
|
|
|
+ row.putAll(actualRow);
|
|
|
+ row.putAll(calculate(row, actualRow));
|
|
|
}
|
|
|
}
|
|
|
|