|
|
|
|
@ -107,6 +107,10 @@ public class EnergyServiceImpl implements EnergyService {
|
|
|
|
|
} else if (type == 3) { |
|
|
|
|
list = energyMapper.queryEnergyYear(buildingId, startDate, endDate, page, limit); |
|
|
|
|
} |
|
|
|
|
// 遍历设置buildingName=全校
|
|
|
|
|
list.forEach(item->{ |
|
|
|
|
item.setBuildingName("全校"); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
return list; |
|
|
|
|
} |
|
|
|
|
|